aboutsummaryrefslogblamecommitdiffstats
path: root/community/libtermkey/APKBUILD
blob: 9b706a21098575f1c63b08a655dd720c8af0bc93 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                        

           




                                                                                    
                           
                                                  
                                       
                                                                         
                               
                                   
 
         

                      





                        
                 


           


                                                  

 
                                                                                                                                                                    
                                                                                                                                                         
# Contributor: Marvin Steadfast <marvin@xsteadfastx.org>
# Maintainer: Marvin Steadfast <marvin@xsteadfastx.org>
pkgname=libtermkey
pkgver=0.22
pkgrel=0
pkgdesc="Library for easy processing of keyboard entry from terminal-based programs"
url="http://www.leonerd.org.uk/code/libtermkey"
arch="all"
license="MIT"
depends=""
depends_dev="unibilium-dev"
makedepends="$depends_dev libtool perl perl-utils"
subpackages="$pkgname-doc $pkgname-dev"
source="http://www.leonerd.org.uk/code/libtermkey/$pkgname-$pkgver.tar.gz
	build-static-lib.patch"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"

	make PREFIX=/usr
}

check() {
	cd "$builddir"

	make test
}

package() {
	cd "$builddir"

	make PREFIX=/usr DESTDIR="$pkgdir" install
}

sha512sums="2e8242cd1e6acb8900125dcee9fd47f7554c359363f760b88858c82667e1f3871bdd87358b14c8a133ef3cd2699947a5045477e64cdf7f96d4ead1723e73a219  libtermkey-0.22.tar.gz
c62d691e5ba451fd2256c9f0baed1f87531c3faac946ad5ce3337f422049c2ca0af84ae302618458856e133177c0dfc4101b3c904a472a886196833aded5064c  build-static-lib.patch"