diff options
-rw-r--r-- | argtable/PKGBUILD | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/argtable/PKGBUILD b/argtable/PKGBUILD deleted file mode 100644 index 972ea9bea..000000000 --- a/argtable/PKGBUILD +++ /dev/null @@ -1,50 +0,0 @@ -# Maintainer: Erich Eckner <arch at eckner dot net> -# Contributor: TDY <tdy@archlinux.info> -# Contributor: Mark Taylor <skymt0 at gmail dot com> - -pkgbase=argtable -pkgname=('argtable' 'argtable-docs') -pkgver=2.13 -pkgrel=2 -pkgdesc="An ANSI C command line parser" -arch=('i686' 'pentium4' 'x86_64') -# argtable-docs ist absichtlich nicht any ohne ELF Dateien -url="http://argtable.sourceforge.net/" -license=('GPL') -source=("https://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgname-$pkgver/$pkgname${pkgver/./-}.tar.gz") -sha512sums=('3d8303f3ba529e3241d918c0127a16402ece951efb964d14a06a3a7d29a252812ad3c44e96da28798871e9923e73a2cfe7ebc84139c1397817d632cae25c4585') -makedepends=('glibc') - -build() { - cd "$srcdir/${pkgname%-*}${pkgver/./-}" - ./configure --prefix=/usr - make -} - -check_argtable() { - cd "$srcdir/${pkgname%-*}${pkgver/./-}" - make -k check -} - -package_argtable() { - local _pinned_dependencies - _pinned_dependencies=( - 'glibc>=2.31' - ) - depends=("${_pinned_dependencies[@]}") - options=('!libtool') - - cd "$srcdir/${pkgname%-*}${pkgver/./-}" - sed -i '/^install-data-am:/s/install-dist_exampleDATA //' Makefile - make SUBDIRS="src tests" DESTDIR="$pkgdir/" install -} - -package_argtable-docs() { - pkgdesc="Documentation and examples for argtable" - - cd "$srcdir/${pkgname%-*}${pkgver/./-}" - make -C doc DESTDIR="$pkgdir/" install - make DESTDIR="$pkgdir/" install-dist_exampleDATA -} - -# vim:set ts=2 sw=2 et: |