desktop/libguess/PKGBUILD
2016-09-18 10:58:56 +02:00

25 lines
651 B
Bash

pkgname=libguess
pkgver=1.2
_commit=13c43adc7e6bfcf021057fd99feb661e8fa80a2d
pkgrel=1
pkgdesc='High-speed character set detection library'
url='http://atheme.org/projects/libguess.html'
license=('custom')
depends=('libmowgli')
arch=('x86_64')
source=("$pkgname-$pkgver.tar.gz::https://github.com/kaniini/libguess/archive/$_commit.tar.gz")
sha256sums=('539137055be10b72bad8c913cdbafab7fd28a1caae462110d06d3c17481b32db')
build() {
cd ${pkgname}-$_commit
./autogen.sh
./configure --prefix=/usr
make
}
package() {
cd ${pkgname}-$_commit
make DESTDIR="${pkgdir}" install
install -D COPYING "${pkgdir}"/usr/share/licenses/libguess/COPYING
}