[arch-commits] Commit in sloccount/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 12:55:06 UTC 2020
Date: Tuesday, July 7, 2020 @ 12:55:06
Author: felixonmars
Revision: 658280
archrelease: copy trunk to community-staging-x86_64
Added:
sloccount/repos/community-staging-x86_64/
sloccount/repos/community-staging-x86_64/PKGBUILD
(from rev 658279, sloccount/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: sloccount/repos/community-staging-x86_64/PKGBUILD (from rev 658279, sloccount/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 12:55:06 UTC (rev 658280)
@@ -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=10
+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