diff options
author | k0r10n <k0r10n.dev@gmail.com> | 2014-09-17 07:36:15 +0400 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-09-17 14:20:14 +0000 |
commit | 5a8cf4bf8e2d4562e4f030790fa43005c3d767f5 (patch) | |
tree | f6d954842185f076cc2781df8e1ab353653ef48c /testing/partimage/APKBUILD | |
parent | 9c138165d75022d1f3fafb35b927e9e394a9c6df (diff) | |
download | aports-5a8cf4bf8e2d4562e4f030790fa43005c3d767f5.tar.bz2 aports-5a8cf4bf8e2d4562e4f030790fa43005c3d767f5.tar.xz |
testing/partimage: Fix headers
Diffstat (limited to 'testing/partimage/APKBUILD')
-rw-r--r-- | testing/partimage/APKBUILD | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/testing/partimage/APKBUILD b/testing/partimage/APKBUILD index aacd2d002c..c6ad86a1fb 100644 --- a/testing/partimage/APKBUILD +++ b/testing/partimage/APKBUILD @@ -1,31 +1,35 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=partimage pkgver=0.6.9 -pkgrel=0 +pkgrel=1 pkgdesc="Saves partitions having a supported filesystem to an image file" url="http://www.partimage.org" arch="all" license="GPL" depends= -makedepends="bzip2-dev newt-dev zlib-dev gettext-dev slang-dev openssl-dev \ - newt-dev autoconf" +makedepends="bzip2-dev newt-dev zlib-dev gettext-dev slang-dev openssl-dev + newt-dev" install= subpackages="$pkgname-doc" source="http://downloads.sourceforge.net/project/$pkgname/stable/$pkgver/$pkgname-$pkgver.tar.bz2 partimage-0.6.9-zlib-1.2.6.patch + partimage-0.6.9-common.patch " _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" - patch -p1 -i $srcdir/$pkgname-0.6.9-zlib-1.2.6.patch || return 1 + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done } build() { cd "$_builddir" export LIBS="$LIBS -lintl" - autoconf && automake ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ @@ -40,4 +44,11 @@ package() { } md5sums="1bc046fd915c5debbafc85729464e513 partimage-0.6.9.tar.bz2 -6139caa49838f71e6b8ac11624252cf7 partimage-0.6.9-zlib-1.2.6.patch" +6139caa49838f71e6b8ac11624252cf7 partimage-0.6.9-zlib-1.2.6.patch +82e01a132c3d4ca656f3c7e96bf86c72 partimage-0.6.9-common.patch" +sha256sums="753a6c81f4be18033faed365320dc540fe5e58183eaadcd7a5b69b096fec6635 partimage-0.6.9.tar.bz2 +67bb600b135ab4e9febf2b17ca4666d8bb0a334abc4e548d555a167a32b9615d partimage-0.6.9-zlib-1.2.6.patch +5beebb0fa26168eecccbd9baf609d5ed207cdf5f420d75218e700be95c9d6760 partimage-0.6.9-common.patch" +sha512sums="252885921b23933fdcdf0bb6efa4b82066b08ca95cc653296912d384ae875b421c1d39f347a90115315139176d4eab4a930c24919c2d38cf00ed29c764cd14d9 partimage-0.6.9.tar.bz2 +f6feaf6967620ca5512aec50ada13e1b3676976ee2e04cebb3cd64c991ec8be47b337cd99c2656b3a1c77ce4ea25661784a8217f6d8325fd346f1d15463392ce partimage-0.6.9-zlib-1.2.6.patch +39faba3b75302c0fb04e343b3854549c06447e28040f9c49a83d595533901e3c6af252a18d8db0394cbaabc7c9c1bde014f2d423cab80dadb6ea5322dc19a381 partimage-0.6.9-common.patch" |