24 lines
728 B
Bash
24 lines
728 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=libtermkey
|
|
pkgver=0.22
|
|
pkgrel=1
|
|
pkgdesc='Library for easy processing of keyboard entry from terminal-based programs'
|
|
arch=('i686' 'x86_64')
|
|
url='http://www.leonerd.org.uk/code/libtermkey'
|
|
license=('Expat')
|
|
depends=('unibilium')
|
|
source=("http://www.leonerd.org.uk/code/${pkgname}/${pkgname}-${pkgver}.tar.gz")
|
|
sha512sums=('2e8242cd1e6acb8900125dcee9fd47f7554c359363f760b88858c82667e1f3871bdd87358b14c8a133ef3cd2699947a5045477e64cdf7f96d4ead1723e73a219')
|
|
|
|
build() {
|
|
cd "${pkgname}-${pkgver}/"
|
|
make PREFIX=/usr
|
|
}
|
|
|
|
package() {
|
|
cd "${pkgname}-${pkgver}/"
|
|
make PREFIX=/usr DESTDIR="${pkgdir}" install
|
|
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
}
|