aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-12-12 23:52:09 +0700
committerShulhan <ms@kilabit.info>2023-12-12 23:52:09 +0700
commitbb198ad2d7a3f26c8ee0f32abfc8384c79df404f (patch)
tree754897eff6fb4257775664758fcbb82a44ebbd95
parenta507deaad03fbae517946fb501f2a8a9d06cd3e2 (diff)
downloadpakakeh.go-bb198ad2d7a3f26c8ee0f32abfc8384c79df404f.tar.xz
_AUR: include httpdfs binary in package
While at it, * cleaning up the PKGBUILD, * remove unused prepare(), and * use "make build" to build directly without running test and lint.
-rw-r--r--_AUR/.SRCINFO2
-rw-r--r--_AUR/PKGBUILD10
2 files changed, 4 insertions, 8 deletions
diff --git a/_AUR/.SRCINFO b/_AUR/.SRCINFO
index c744c514..c155d729 100644
--- a/_AUR/.SRCINFO
+++ b/_AUR/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = share-tools
pkgdesc = Miscellaneous CLI tools: bcrypt, epoch, ini, xtrk
- pkgver = 0.49.1.r4.g072512d
+ pkgver = 0.51.0.r2.ga507deaa
pkgrel = 1
url = https://github.com/shuLhan/share
arch = x86_64
diff --git a/_AUR/PKGBUILD b/_AUR/PKGBUILD
index 3472ba1b..b8549552 100644
--- a/_AUR/PKGBUILD
+++ b/_AUR/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: shulhan <ms@kilabit.info>
pkgname=share-tools
-pkgver=0.49.1.r4.g072512d
+pkgver=0.51.0.r2.ga507deaa
pkgrel=1
pkgdesc="Miscellaneous CLI tools: bcrypt, epoch, ini, xtrk"
@@ -18,7 +18,6 @@ provides=('share-tools')
source=(
"$pkgname::git+https://github.com/shuLhan/share.git"
- #"$pkgname::git+file:///home/ms/go/src/github.com/shuLhan/share#branch=dev"
)
md5sums=(
'SKIP'
@@ -29,13 +28,9 @@ pkgver() {
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
-prepare() {
- cd "${pkgname}"
-}
-
build() {
cd "${pkgname}"
- make
+ make build
}
package() {
@@ -46,6 +41,7 @@ package() {
install -Dm755 _bin/go-bench.sh $pkgdir/usr/bin/go-bench.sh
install -Dm755 _bin/go-mod-tip.sh $pkgdir/usr/bin/go-mod-tip.sh
install -Dm755 _bin/go-test-lint.sh $pkgdir/usr/bin/go-test-lint.sh
+ install -Dm755 _bin/httpdfs $pkgdir/usr/bin/httpdfs
install -Dm755 _bin/ini $pkgdir/usr/bin/ini
install -Dm755 _bin/xtrk $pkgdir/usr/bin/xtrk
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"