From 9cb59f16908b4c0f3f6901ccf376e1a37ea29c3a Mon Sep 17 00:00:00 2001 From: root Date: Fri, 27 Sep 2013 02:19:49 -0700 Subject: Fri Sep 27 02:16:46 PDT 2013 --- pcr/ii/PKGBUILD | 30 ++++++++++++++++++++++++++++++ pcr/sic/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 pcr/ii/PKGBUILD create mode 100644 pcr/sic/PKGBUILD (limited to 'pcr') diff --git a/pcr/ii/PKGBUILD b/pcr/ii/PKGBUILD new file mode 100644 index 000000000..b17cc2d18 --- /dev/null +++ b/pcr/ii/PKGBUILD @@ -0,0 +1,30 @@ +# Contributor: Evan Gates +# Contributor: Dag Odenhall +# Contributor: Chris Brannon +# Contributor: William Giokas <1007380@gmail.com> +pkgname=ii +pkgver=1.7 +pkgrel=2 +pkgdesc="A minimalist FIFO and filesystem-based IRC client" +license=(MIT) +arch=(i686 x86_64) +url=http://tools.suckless.org/ii +depends=(glibc) +source=("http://dl.suckless.org/tools/${pkgname}-${pkgver}.tar.gz") + +md5sums=('6191008ca09770873d84f40270493d0e') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + sed -i "s/CFLAGS = /CFLAGS = ${CFLAGS} /" config.mk +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr MANDIR=/usr/share/man DESTDIR="$pkgdir" install +} diff --git a/pcr/sic/PKGBUILD b/pcr/sic/PKGBUILD new file mode 100644 index 000000000..b006f95b5 --- /dev/null +++ b/pcr/sic/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Thomas Dziedzic < gostrc at gmail > +# Contributor: Dag Odenhall +# Contributor: Giorgio Lando + +pkgname=sic +pkgver=1.2 +pkgrel=1 +pkgdesc='An extremely simple IRC client.' +license=('MIT') +arch=('i686' 'x86_64') +url='http://tools.suckless.org/sic' +depends=('glibc') +source=("http://dl.suckless.org/tools/$pkgname-$pkgver.tar.gz") + +prepare() { + cd $pkgname-$pkgver + sed -i "s/CFLAGS = /CFLAGS = ${CFLAGS} /" config.mk +} +build() { + cd $pkgname-$pkgver + + make PREFIX=/usr MANPREFIX=/usr/share/man +} + +package() { + cd $pkgname-$pkgver + make PREFIX=/usr MANPREFIX=/usr/share/man DESTDIR="$pkgdir" install + + install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE +} +sha1sums=('a91a603d536ae9cff9a806d6b2737053d262e722') +sha256sums=('ac07f905995e13ba2c43912d7a035fbbe78a628d7ba1c256f4ca1372fb565185') -- cgit v1.2.3-54-g00ecf