summaryrefslogtreecommitdiff
path: root/extra/dotconf
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-18 23:03:19 +0000
committerroot <root@rshg047.dnsready.net>2011-06-18 23:03:19 +0000
commitc80552b41838a5668458ebb1eb9b0f44ea6fe879 (patch)
treed8404bc10128ad69e29c762d116434876e5885a7 /extra/dotconf
parente96f6ac6e912185a495a99af2b0d51b73bd1d044 (diff)
Sat Jun 18 23:03:19 UTC 2011
Diffstat (limited to 'extra/dotconf')
-rw-r--r--extra/dotconf/PKGBUILD26
1 files changed, 8 insertions, 18 deletions
diff --git a/extra/dotconf/PKGBUILD b/extra/dotconf/PKGBUILD
index 14b7bb6f1..c33a2d0e5 100644
--- a/extra/dotconf/PKGBUILD
+++ b/extra/dotconf/PKGBUILD
@@ -1,38 +1,28 @@
-# $Id$
+# $Id: PKGBUILD 127711 2011-06-17 18:24:49Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Chris Brannon <cmbrannon@cox.net>
pkgname=dotconf
pkgver=1.3
-pkgrel=1
+pkgrel=2
pkgdesc='A C library for parsing configuration files'
-url="http://www.opentts.org/projects/dotconf/"
+url="https://github.com/williamh/dotconf"
arch=('i686' 'x86_64')
depends=('glibc')
makedepends=('pkgconfig' 'findutils')
license=('LGPL2.1')
-source=("http://files.opentts.org/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-md5sums=('35c19ec9b96648f53e987e47e52dbc4c')
+source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/williamh/${pkgname}/tarball/v${pkgver}")
+md5sums=('36bfdde245072fc2f4f5766b7db97c45')
options=('!libtool')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}"/williamh-${pkgname}-4cd7b3a
+ autoreconf -i
./configure --prefix=/usr
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}"/williamh-${pkgname}-4cd7b3a
make DESTDIR="${pkgdir}" install
-
- # There are no manpages. Docu consists of textfiles and small examples.
- # "make install" didn't install the docu, so do it manually.
- install -d ${pkgdir}/usr/share/doc/${pkgname}
- cp -a doc/*.txt README examples/ ${pkgdir}/usr/share/doc/${pkgname}
- # Get rid of files specific to Microsoft products:
- find ${pkgdir}/usr/share/doc/${pkgname} -name '*.dsp' | xargs rm -f
-
- # Dotconf uses libpool internally for memory management. No need to install.
- rm -f ${pkgdir}/usr/lib/libpool.a
- rm -f ${pkgdir}/usr/include/libpool.h
}