[arch-commits] Commit in sloccount/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Sat Oct 12 22:04:16 UTC 2019
Date: Saturday, October 12, 2019 @ 22:04:16
Author: jelle
Revision: 515275
archrelease: copy trunk to community-x86_64
Added:
sloccount/repos/community-x86_64/PKGBUILD
(from rev 515274, sloccount/trunk/PKGBUILD)
Deleted:
sloccount/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 53 ++++++++++++++++++++++++++---------------------------
1 file changed, 26 insertions(+), 27 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-12 22:04:09 UTC (rev 515274)
+++ PKGBUILD 2019-10-12 22:04:16 UTC (rev 515275)
@@ -1,27 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
-# Contributor: Allan McRae <allan at archlinux.org>
-# Contributor: Christof Musik <christof at senfdax.de>
-
-pkgname=sloccount
-pkgver=2.26
-pkgrel=8
-pkgdesc='Tools for counting physical source lines of code'
-url='https://www.dwheeler.com/sloccount/'
-license=('GPL')
-depends=('perl')
-arch=('x86_64' 'i686')
-source=("https://www.dwheeler.com/$pkgname/$pkgname-$pkgver.tar.gz")
-sha256sums=('fa7fa2bbf2f627dd2d0fdb958bd8ec4527231254c120a8b4322405d8a4e3d12b')
-
-package() {
- cd "$pkgname-$pkgver"
-
- install -dm755 "$pkgdir/usr/bin"
- make PREFIX="$pkgdir/usr" install
- mv "$pkgdir/usr/share/doc/sloccount-2.26-1" "$pkgdir/usr/share/doc/sloccount"
- chmod 644 "$pkgdir/usr/share/doc/sloccount/"*
-}
-
-# vim: ts=2 sw=2 et:
Copied: sloccount/repos/community-x86_64/PKGBUILD (from rev 515274, sloccount/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-12 22:04:16 UTC (rev 515275)
@@ -0,0 +1,26 @@
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Christof Musik <christof at senfdax.de>
+
+pkgname=sloccount
+pkgver=2.26
+pkgrel=9
+pkgdesc='Tools for counting physical source lines of code'
+url='https://www.dwheeler.com/sloccount/'
+license=('GPL')
+depends=('perl')
+arch=('x86_64')
+source=("https://www.dwheeler.com/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('fa7fa2bbf2f627dd2d0fdb958bd8ec4527231254c120a8b4322405d8a4e3d12b')
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ install -dm755 "$pkgdir/usr/bin"
+ make CC="gcc $CFLAGS $LDFLAGS $CPPFLAGS" PREFIX="$pkgdir/usr" install
+ mv "$pkgdir/usr/share/doc/sloccount-2.26-1" "$pkgdir/usr/share/doc/sloccount"
+ chmod 644 "$pkgdir/usr/share/doc/sloccount/"*
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list