From d49b7e7cd8636c281bafe375f0362fdc35584820 Mon Sep 17 00:00:00 2001 From: Jeff Huang Date: Thu, 18 Feb 2016 03:10:50 +0000 Subject: [PATCH] liblangtag: import as libetonyek's dependency --- liblangtag/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 liblangtag/PKGBUILD diff --git a/liblangtag/PKGBUILD b/liblangtag/PKGBUILD new file mode 100644 index 000000000..c9d105827 --- /dev/null +++ b/liblangtag/PKGBUILD @@ -0,0 +1,32 @@ +# Contribution from Arch: +# Maintainer: AndyRTR + +pkgname=liblangtag +pkgver=0.5.8 +pkgrel=1 +pkgdesc="interface library to access/deal with tags for identifying languages" +arch=('i686' 'x86_64') +url="http://tagoh.bitbucket.org/liblangtag/index.html" +license=('LGPL3' 'MPL') # actually MPL2.0 +depends=('libxml2' 'glib2') +makedepends=('gobject-introspection') +optdepends=('gobject-introspection-runtime: use with liblangtag-gobject') +source=(https://bitbucket.org/tagoh/liblangtag/downloads/$pkgname-$pkgver.tar.bz2) +md5sums=(aa899eff126216dafe721149fbdb511b) + + +build() { + cd "$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + +check() { + cd "$pkgname-$pkgver" + make -k check +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +}