summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD34
1 files changed, 18 insertions, 16 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 068a20f5a8a..0d082ae254e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,45 +1,47 @@
# Maintainer: Caleb Maclennan <caleb@alerque.com>
pkgname=git-warp-time-git
-pkgver=0.4.1.r2.gfecf49f
-pkgrel=1
+pkgver=0.4.3.r1.g690557a
+pkgrel=2
pkgdesc='reset file timestamps to repo state'
arch=(x86_64)
url="https://github.com/alerque/${pkgname%-git}"
license=(GPL3)
-makedepends=(git rust)
-provides=("${pkgname%-git}")
+makedepends=(cargo
+ git
+ jq)
+provides=("${pkgname%-git}=$pkgver")
conflicts=("${pkgname%-git}")
source=("$pkgname::git+$url.git")
sha256sums=('SKIP')
pkgver() {
- cd "$pkgname"
- git describe --long --abbrev=7 --tags --match="v*" |
- sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+ cd "$pkgname"
+ git describe --long --abbrev=7 --tags --match="v*" |
+ sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "$pkgname"
- sed Makefile.am -i \
- -e "/^licensedir = /s#.(_gwt)\$#$pkgname#" \
- -e 's/cargo \(build\|install\|test\)/cargo --offline \1/'
- ./bootstrap.sh
- cargo fetch --locked
+ sed Makefile.am -i \
+ -e "/^licensedir = /s#.(_gwt)\$#$pkgname#" \
+ -e 's/cargo \(build\|install\|test\)/cargo --offline \1/'
+ ./bootstrap.sh
+ cargo fetch --locked
}
build() {
cd "$pkgname"
- ./configure --prefix "/usr"
- make
+ ./configure --prefix "/usr"
+ make
}
check() {
cd "$pkgname"
- make check
+ make check
}
package() {
cd "$pkgname"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install
}