diff options
Diffstat (limited to 'community/libwpd')
-rw-r--r-- | community/libwpd/APKBUILD | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/community/libwpd/APKBUILD b/community/libwpd/APKBUILD index 2835182655..8b969e7f2e 100644 --- a/community/libwpd/APKBUILD +++ b/community/libwpd/APKBUILD @@ -10,24 +10,17 @@ license="MPL2" depends="" depends_dev="librevenge-dev" makedepends="$depends_dev doxygen" -install="" subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" source="http://downloads.sourceforge.net/project/libwpd/libwpd/libwpd-$pkgver/libwpd-$pkgver.tar.bz2" -_builddir="$srcdir"/libwpd-$pkgver +builddir="$srcdir"/libwpd-$pkgver prepare() { - local i - cd "$_builddir" - update_config_sub || return 1 - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + update_config_sub + default_prepare } build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -35,14 +28,13 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 + --localstatedir=/va + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } tools() { @@ -50,6 +42,4 @@ tools() { mv "$pkgdir"/usr/bin "$subpkgdir"/usr } -md5sums="79b56bcc349264d686a67994506ad199 libwpd-0.10.1.tar.bz2" -sha256sums="efc20361d6e43f9ff74de5f4d86c2ce9c677693f5da08b0a88d603b7475a508d libwpd-0.10.1.tar.bz2" sha512sums="aa99a11675b76d6357cd6479ed4cc0e04cd42d9f6ef76da3627310b683c6528c05ebd5cd1c3fcd878f288e56a05d11d81e90b2a0c5d03d4fa9644eb6f16d955e libwpd-0.10.1.tar.bz2" |