[arch-commits] Commit in (4 files)
David Runge
dvzrv at archlinux.org
Sun Aug 5 19:56:51 UTC 2018
Date: Sunday, August 5, 2018 @ 19:56:50
Author: dvzrv
Revision: 368418
Adding argtable from AUR as dependency for lv2file.
Added:
argtable/
argtable/repos/
argtable/trunk/
argtable/trunk/PKGBUILD
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Added: argtable/trunk/PKGBUILD
===================================================================
--- argtable/trunk/PKGBUILD (rev 0)
+++ argtable/trunk/PKGBUILD 2018-08-05 19:56:50 UTC (rev 368418)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+pkgname=argtable
+pkgver=2.13
+pkgrel=3
+pkgdesc="An ANSI C library for parsing GNU style command line options with a minimum of fuss"
+arch=('x86_64')
+url="http://argtable.sourceforge.net/"
+license=('GPL')
+depends=('glibc')
+source=("https://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgname}-${pkgver}/${pkgname}${pkgver/./-}.tar.gz")
+sha512sums=('3d8303f3ba529e3241d918c0127a16402ece951efb964d14a06a3a7d29a252812ad3c44e96da28798871e9923e73a2cfe7ebc84139c1397817d632cae25c4585')
+
+prepare() {
+ mv -v "${pkgname}${pkgver/./-}" "$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
+ autoreconf -vfi
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ make -k check
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+ # moving examples
+ mv -v "${pkgdir}/usr/share/doc/${pkgname}2" \
+ "${pkgdir}/usr/share/doc/${pkgname}"
+ # docs
+ install -vDm 644 {AUTHORS,ChangeLog,NEWS,README} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}/"
+}
Property changes on: argtable/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list