diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-13 17:50:09 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-13 17:50:09 +0000 |
commit | 3866635ba14c95f611a4aac27184990423ca6316 (patch) | |
tree | aad786be5b5a4b8bfb1606fc2b89f325dae1a4d5 /main/partimage/APKBUILD | |
parent | 0f658bccb1ddf9dc0e27d70f953e2ab11499b2dc (diff) | |
download | aports-3866635ba14c95f611a4aac27184990423ca6316.tar.bz2 aports-3866635ba14c95f611a4aac27184990423ca6316.tar.xz |
main/partimage: fix build aarch64
Diffstat (limited to 'main/partimage/APKBUILD')
-rw-r--r-- | main/partimage/APKBUILD | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/main/partimage/APKBUILD b/main/partimage/APKBUILD index e33141d454..83a01c341d 100644 --- a/main/partimage/APKBUILD +++ b/main/partimage/APKBUILD @@ -16,19 +16,15 @@ source="http://downloads.sourceforge.net/project/$pkgname/stable/$pkgver/$pkgnam partimage-0.6.9-common.patch " -_builddir="$srcdir"/$pkgname-$pkgver +builddir="$srcdir"/$pkgname-$pkgver prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + default_prepare || return 1 + update_config_guess || return 1 } build() { - cd "$_builddir" + cd "$builddir" export LIBS="$LIBS -lintl" ./configure --prefix=/usr \ --sysconfdir=/etc \ @@ -39,7 +35,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install } |