[arch-commits] Commit in tclap/trunk (PKGBUILD)

Bruno Pagani archange at archlinux.org
Tue May 12 12:21:37 UTC 2020


    Date: Tuesday, May 12, 2020 @ 12:21:37
  Author: archange
Revision: 626844

BUILDINFO Format 1 rebuild

Modified:
  tclap/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-12 12:19:58 UTC (rev 626843)
+++ PKGBUILD	2020-05-12 12:21:37 UTC (rev 626844)
@@ -1,24 +1,24 @@
-# Maintainer:
+# Maintainer: Bruno Pagani <archange at archlinux.org>
 # Contributor: Sébastien Piccand <sebcactus gmail com>
 
 pkgname=tclap
 pkgver=1.2.2
-pkgrel=1
-pkgdesc='Small, flexible library that provides a simple interface for defining and accessing command line arguments'
-url='http://tclap.sourceforge.net/'
-arch=('any')
-license=('MIT')
+pkgrel=2
+pkgdesc="Small, flexible library that provides a simple interface for defining and accessing command line arguments"
+arch=(any)
+url="http://tclap.sourceforge.net/"
+license=(MIT)
 source=(https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-sha1sums=('e07cb13a6849b21189865f74e447d373b325d577')
+sha256sums=('f5013be7fcaafc69ba0ce2d1710f693f61e9c336b6292ae4f57554f59fde5837')
 
 build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
- make
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
 }
 
 package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname}/
 }


More information about the arch-commits mailing list