summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 75bcc95b333..3e3d9ada302 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Wed Aug 10 15:10:29 UTC 2016
+# Mon Aug 29 06:32:03 UTC 2016
pkgbase = sloc
pkgdesc = Simple source-lines-of-code counter
pkgver = 0.3.1
- pkgrel = 1
+ pkgrel = 2
url = http://git.bytbox.net/sloc/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 44c496ec29a..9f66894020a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=sloc
pkgver=0.3.1
-pkgrel=1
+pkgrel=2
pkgdesc='Simple source-lines-of-code counter'
arch=('i686' 'x86_64')
url=http://git.bytbox.net/sloc/
@@ -24,9 +24,10 @@ build() {
package() {
cd sloc
- install -D -m755 sloc/sloc "$pkgdir"/usr/bin/sloc
- install -D -m755 reposloc "$pkgdir"/usr/bin/reposloc
- install -D -m644 reposloc.1 "$pkgdir"/usr/share/man/man1/reposloc.1
+ install -Dm755 sloc/sloc "$pkgdir"/usr/bin/sloc
+ install -Dm755 reposloc "$pkgdir"/usr/bin/reposloc
+ install -Dm644 reposloc.1 "$pkgdir"/usr/share/man/man1/reposloc.1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
# vim:set ts=2 sw=2 et: