summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Lawrence2021-08-10 15:19:16 -0600
committerScott Lawrence2021-08-10 15:19:16 -0600
commitbbe51d11f4da4483d24bed524358943e0311de63 (patch)
tree0bb7d538ac66358e682e101fa335f510866bb8f2
parent3c19b0132feae0a64ae93fa034a072ab78a34484 (diff)
downloadaur-bbe51d11f4da4483d24bed524358943e0311de63.tar.gz
Updating for latest go
-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