summaryrefslogtreecommitdiff
path: root/extra/enblend-enfuse/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/enblend-enfuse/PKGBUILD')
-rw-r--r--extra/enblend-enfuse/PKGBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/extra/enblend-enfuse/PKGBUILD b/extra/enblend-enfuse/PKGBUILD
index b6d1e3271..ce46b36b6 100644
--- a/extra/enblend-enfuse/PKGBUILD
+++ b/extra/enblend-enfuse/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 64417 2010-01-20 07:24:28Z eric $
+# $Id: PKGBUILD 126103 2011-06-01 14:26:46Z stephane $
# Maintainer: tobias <tobias@archlinux.org>
# Contributor: Dominik Ryba <domryba@post.pl>
pkgname=enblend-enfuse
pkgver=4.0
-pkgrel=1
+pkgrel=2
pkgdesc="intelligent blend tool for overlapping picture"
arch=("i686" "x86_64" 'mips64el')
license=('GPL')
@@ -21,10 +21,14 @@ sha1sums=('34c3a5ce11c6ef0ef520d8a15a3cb6a94a567033' 'eae6cf48ea082865130302d0b4
build() {
cd "${srcdir}/${pkgname}-${pkgver}-753b534c819d"
- patch -p1 < ../libpng-1.4.patch || return 1
- ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
- install -D -m644 doc/enblend.info "${pkgdir}/usr/share/info/enblend.info" || return 1
- install -D -m644 doc/enfuse.info "${pkgdir}/usr/share/info/enfuse.info" || return 1
+ patch -Np1 -i ../libpng-1.4.patch
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}-753b534c819d"
+ make DESTDIR="${pkgdir}" install
+ install -D -m644 doc/enblend.info "${pkgdir}/usr/share/info/enblend.info"
+ install -D -m644 doc/enfuse.info "${pkgdir}/usr/share/info/enfuse.info"
}