summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD7
1 files changed, 3 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c6d6b343177..0ab53647a2c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Scott Lawrence <bytbox@gmail.com>
pkgname=sloc
-pkgver=1.1
+pkgver=1.2
pkgrel=1
pkgdesc='Simple source-lines-of-code counter'
arch=('i686' 'x86_64')
@@ -16,13 +16,12 @@ build() {
cd sloc
./gen-man.sh
- cd sloc
- go build -o sloc
+ go build
}
package() {
cd sloc
- install -Dm755 sloc/sloc "$pkgdir"/usr/bin/sloc
+ install -Dm755 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/sloc/LICENSE