diff options
Diffstat (limited to 'extra')
-rw-r--r-- | extra/chmlib/PKGBUILD | 17 | ||||
-rw-r--r-- | extra/gdome2/PKGBUILD | 21 |
2 files changed, 23 insertions, 15 deletions
diff --git a/extra/chmlib/PKGBUILD b/extra/chmlib/PKGBUILD index 1c91a1985..24589b4b2 100644 --- a/extra/chmlib/PKGBUILD +++ b/extra/chmlib/PKGBUILD @@ -1,25 +1,28 @@ -# $Id: PKGBUILD 42201 2009-06-11 18:45:59Z giovanni $ +# $Id: PKGBUILD 127389 2011-06-14 06:55:42Z andrea $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Alexander 'dma147' Mieland <dma147@linux-stats.org> # Contributor: Simon Morgan <simon@16hz.net> pkgname=chmlib pkgver=0.40 -pkgrel=1 +pkgrel=2 pkgdesc="Library for dealing with Microsoft ITSS/CHM format files" arch=('i686' 'x86_64') url="http://morte.jedrea.com/~jedwin/projects/chmlib/" -options=('!libtool' '!emptydirs') +options=('!libtool') license=('LGPL') depends=('glibc') -source=(http://morte.jedrea.com/~jedwin/projects/chmlib/${pkgname}-${pkgver}.tar.bz2) +source=("http://morte.jedrea.com/~jedwin/projects/${pkgname}/${pkgname}-${pkgver}.tar.bz2") md5sums=('7ea49ed8c335215c1edc6fae83e6b912') build() { - cd ${srcdir}/${pkgname}-${pkgver} + cd "${srcdir}"/${pkgname}-${pkgver} ./configure --prefix=/usr \ --enable-examples=yes - make || return 1 - make DESTDIR=${pkgdir} install + make } +package() { + cd "${srcdir}"/${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install +} diff --git a/extra/gdome2/PKGBUILD b/extra/gdome2/PKGBUILD index b51c8539a..d9511dc1b 100644 --- a/extra/gdome2/PKGBUILD +++ b/extra/gdome2/PKGBUILD @@ -1,21 +1,26 @@ -# $Id: PKGBUILD 42368 2009-06-13 12:47:50Z jgc $ -# Maintainer: Jan de Groot <jgc@archlinux.org> +# $Id: PKGBUILD 127384 2011-06-14 06:53:04Z andrea $ +# Maintainer: +# Contributor: Jan de Groot <jgc@archlinux.org> pkgname=gdome2 pkgver=0.8.1 -pkgrel=2 +pkgrel=3 pkgdesc="Gnome DOM Engine" url="http://gdome2.cs.unibo.it/" arch=('i686' 'x86_64') license=('LGPL') -depends=('libxml2>=2.7.3' 'glib2>=2.20.3') +depends=('libxml2' 'glib2') options=(!libtool) -source=(http://gdome2.cs.unibo.it/tarball/${pkgname}-${pkgver}.tar.gz) +source=("http://gdome2.cs.unibo.it/tarball/${pkgname}-${pkgver}.tar.gz") md5sums=('bfc114e59eec50cbda8e4ece751ff022') build() { cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr --mandir=/usr/share/man || return 1 - make || return 1 - make DESTDIR="${pkgdir}" install || return 1 + ./configure --prefix=/usr --mandir=/usr/share/man + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install } |