diff options
author | James Meyer <james.meyer@operamail.com> | 2011-08-06 02:11:57 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2011-08-06 02:11:57 (GMT) |
commit | 2c376fdb646fce75480d593754129028ec2380ac (patch) | |
tree | 3f7ec59f7176280d11aab06e3311379feed17fb5 /abs/extra | |
parent | 9632d9914981c369d0bdc1e486f108f229db7410 (diff) | |
parent | 8bc233d2a285e825733593aff91e9211758fc838 (diff) | |
download | linhes_pkgbuild-2c376fdb646fce75480d593754129028ec2380ac.zip linhes_pkgbuild-2c376fdb646fce75480d593754129028ec2380ac.tar.gz linhes_pkgbuild-2c376fdb646fce75480d593754129028ec2380ac.tar.bz2 |
Merge branch 'testing' of ssh://jams@linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/extra')
-rw-r--r-- | abs/extra/community/enca/PKGBUILD | 32 | ||||
-rw-r--r-- | abs/extra/sysstat/PKGBUILD | 33 |
2 files changed, 36 insertions, 29 deletions
diff --git a/abs/extra/community/enca/PKGBUILD b/abs/extra/community/enca/PKGBUILD index 1bbd7db..e398023 100644 --- a/abs/extra/community/enca/PKGBUILD +++ b/abs/extra/community/enca/PKGBUILD @@ -1,23 +1,27 @@ -# $Id: PKGBUILD,v 1.7 2009/02/27 12:40:33 sergej Exp $ -# Maintainer: Sergej Pupykin <sergej@aur.archlinux.org> +# $Id$ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Filip Dvorak <fila@pruda.com> pkgname=enca -pkgver=1.9 -pkgrel=4 +pkgver=1.13 +pkgrel=1 pkgdesc="Charset analyser and converter" -arch=(i686 x86_64) -url="http://trific.ath.cx/software/enca" +arch=('i686' 'x86_64') +url="http://freshmeat.net/projects/enca/" options=('!libtool') -license=("GPL") -depends=() -source=(http://archlinux-stuff.googlecode.com/files/enca-$pkgver.tar.bz2) -md5sums=('b3581e28d68d452286fb0bfe58bed3b3') +license=('GPL') +depends=('recode' 'sh') +source=(http://dl.cihar.com/${pkgname}/${pkgname}-${pkgver}.tar.bz2) +md5sums=('762bead5d9a0a5e55024e1102baaa89d') build() { - cd $startdir/src/enca-$pkgver - ./configure --prefix=/usr --libexecdir=/usr/lib/enca + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr \ + --libexecdir=/usr/lib \ + --mandir=/usr/share/man \ + --with-librecode=/usr \ + --enable-external make || return 1 - make DESTDIR=$startdir/pkg install + make DESTDIR="${pkgdir}" install || return 1 } - diff --git a/abs/extra/sysstat/PKGBUILD b/abs/extra/sysstat/PKGBUILD index 12f5afe..07c36c2 100644 --- a/abs/extra/sysstat/PKGBUILD +++ b/abs/extra/sysstat/PKGBUILD @@ -1,35 +1,38 @@ -# $Id: PKGBUILD,v 1.24 2009/05/25 09:04:21 sergej Exp $ +# $Id$ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Martin Devera <devik@cdi.cz> pkgname=sysstat -pkgver=9.0.3 +pkgver=10.0.1 pkgrel=1 -pkgdesc="A collection of performance monitoring tools" +pkgdesc="a collection of performance monitoring tools (iostat,isag,mpstat,pidstat,sadf,sar)" arch=('i686' 'x86_64') url="http://pagesperso-orange.fr/sebastien.godard/" license=('GPL') -depends=(glibc) +depends=('lm_sensors') +optdepends=('tk: to use isag' + 'gnuplot: to use isag') options=(zipman) source=(http://pagesperso-orange.fr/sebastien.godard/$pkgname-$pkgver.tar.gz sysstat) -md5sums=('0b464951596db934418259737cf50a31' +md5sums=('a8b12230452dc0e0b6cae5fd5ec3c579' 'ad46159609a2c13b4a46b506ff847bf6') build() { cd $srcdir/$pkgname-$pkgver - ./configure --prefix=/usr \ - --mandir=/usr/share/man \ - --enable-install-isag \ + --mandir=/usr/share/man \ + --enable-install-isag \ --disable-man-group - make || return 1 - make DESTDIR=$pkgdir install || return 1 - - install -D -m 644 sysstat.sysconfig $pkgdir/etc/sysstat/sysstat && \ - install -D -m 744 sysstat.cron.hourly $pkgdir/etc/cron.hourly/sysstat && \ - install -D -m 744 sysstat.cron.daily $pkgdir/etc/cron.daily/sysstat && \ - install -D -m 755 $srcdir/sysstat $pkgdir/etc/rc.d/sysstat || return 1 + make +} +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install + install -D -m 644 sysstat.sysconfig $pkgdir/etc/sysstat/sysstat + install -D -m 744 cron/sysstat.cron.hourly $pkgdir/etc/cron.hourly/sysstat + install -D -m 744 cron/sysstat.cron.daily $pkgdir/etc/cron.daily/sysstat + install -D -m 755 $srcdir/sysstat $pkgdir/etc/rc.d/sysstat chown -R root:root $pkgdir } |