desktop/libguess/PKGBUILD

25 lines
651 B
Bash
Raw Normal View History

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