diff options
| author | Leo <thinkabit.ukim@gmail.com> | 2020-04-08 15:54:49 -0300 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2020-04-08 19:24:08 +0000 |
| commit | 45d6c1f724bb0cf1fde2a01029aabe7d51921296 (patch) | |
| tree | 01485efd86599936dc63d76fc6564a1967df07a3 /community/libmaa | |
| parent | 25ae3c33664fbacb978c5f23a2ab12024c089ebd (diff) | |
| download | aports-45d6c1f724bb0cf1fde2a01029aabe7d51921296.tar.bz2 aports-45d6c1f724bb0cf1fde2a01029aabe7d51921296.tar.xz | |
community/libmaa: modernize
Diffstat (limited to 'community/libmaa')
| -rw-r--r-- | community/libmaa/APKBUILD | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/community/libmaa/APKBUILD b/community/libmaa/APKBUILD index 90237a15e2..02689b0ba1 100644 --- a/community/libmaa/APKBUILD +++ b/community/libmaa/APKBUILD @@ -6,28 +6,25 @@ pkgrel=1 pkgdesc="Provides many low-level data structures which are helpful for writing compilers" url="https://sourceforge.net/projects/dict/" arch="all" -license="GPL" -depends="" -depends_dev="" +license="GPL-1.0-or-later AND LGPL-2.0-or-later" makedepends="libtool perl flex" -install="" subpackages="$pkgname-dev" -source="https://downloads.sourceforge.net/dict/${pkgname}-${pkgver}.tar.gz +source="https://downloads.sourceforge.net/dict/libmaa-$pkgver.tar.gz fix-ppc64le-build-snprinf-buflen.patch" options="libtool" -builddir="${srcdir}/${pkgname}-${pkgver}" +prepare() { + default_prepare + update_config_guess +} build() { - cd "$builddir" - update_config_guess || return 1 ./configure --prefix=/usr - make || return 1 + make } package() { - cd "$builddir" - make DESTDIR="${pkgdir}" install || return 1 + make DESTDIR="$pkgdir" install } sha512sums="dde91e8bf1c08515ff4662282d16a03b18a1dfb16eb7b95be980ba398ed1e65d8cd88e58d454e03a03f48a5ecca8bf23b4ebaf475a98630a9178318c12a1b176 libmaa-1.3.2.tar.gz |
