summaryrefslogtreecommitdiff
path: root/community/libmaa
diff options
context:
space:
mode:
Diffstat (limited to 'community/libmaa')
-rw-r--r--community/libmaa/PKGBUILD25
1 files changed, 15 insertions, 10 deletions
diff --git a/community/libmaa/PKGBUILD b/community/libmaa/PKGBUILD
index 1c45e4edb..5a35a9a5d 100644
--- a/community/libmaa/PKGBUILD
+++ b/community/libmaa/PKGBUILD
@@ -2,20 +2,25 @@
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=libmaa
-pkgver=1.1.1
+pkgver=1.3.1
pkgrel=1
-pkgdesc="provides many low-level data structures which are helpful for writing compilers"
+pkgdesc="Provides many low-level data structures which are helpful for writing compilers"
url="http://sourceforge.net/projects/dict/"
-license=("GPL")
-arch=(i686 x86_64)
-depends=('zlib')
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('glibc')
makedepends=('flex')
-source=(http://downloads.sourceforge.net/project/dict/libmaa/libmaa-1.1.1/libmaa-1.1.1.tar.gz)
-md5sums=('0f3e1ef0e3dc6c516b8fb0cacef8f628')
+options=('!libtool')
+source=("http://downloads.sourceforge.net/dict/${pkgname}-${pkgver}.tar.gz")
+md5sums=('04fcb72e8767c0795059bf397f5a0355')
build() {
- cd $startdir/src/$pkgname-$pkgver
+ cd "${srcdir}/$pkgname-$pkgver"
./configure --prefix=/usr
- make || return 1
- make DESTDIR=$startdir/pkg install
+ make
+}
+
+package() {
+ cd "${srcdir}/$pkgname-$pkgver"
+ make DESTDIR="${pkgdir}" install
}