summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonne Haß2016-10-19 20:21:40 +0200
committerJonne Haß2016-10-19 20:22:11 +0200
commit9cd1cf82debadeccfe528a87f7fbf4926ea7a7bb (patch)
tree9e36b16b6ac906d2abf6bea54e84059db4f1f98c
parent5d406693a304276441ef6ee4c5358c6b2a2cf79a (diff)
downloadaur-9cd1cf82debadeccfe528a87f7fbf4926ea7a7bb.tar.gz
snazzer-git: make use of makefile
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD24
2 files changed, 20 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ced699c32b9..46bc32c0279 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,8 @@
+# Generated by mksrcinfo v8
+# Wed Oct 19 18:21:29 UTC 2016
pkgbase = snazzer-git
pkgdesc = btrfs snapshotting and backup system offering snapshot measurement, transport and pruning.
- pkgver = r149.7bbd507
+ pkgver = r174.37f6e5f
pkgrel = 1
url = https://github.com/csirac2/snazzer
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 7d7ba95885a..28b68dc35f7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Jonne Haß <me@jhass.eu>
pkgname=snazzer-git
-pkgver=r149.7bbd507
+pkgver=r174.37f6e5f
pkgrel=1
pkgdesc="btrfs snapshotting and backup system offering snapshot measurement, transport and pruning. "
arch=('any')
@@ -15,17 +15,27 @@ pkgver() {
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
+build() {
+ cd "$srcdir/snazzer"
+
+ make manpages
+}
+
+test() {
+ cd "$srcdir/snazzer"
+
+ make test
+}
+
package() {
cd "$srcdir/snazzer"
+ make INSTALL_PREFIX="$pkgdir/usr/bin" install
+
for script in snazzer snazzer-measure snazzer-prune-candidates snazzer-receive snazzer-send-wrapper; do
- install -Dm755 "$script" "$pkgdir/usr/bin/$script"
- pod2man --release="$pkgver" "$srcdir/snazzer/$script" > "${script}.1"
- gzip -f "${script}.1"
- install -Dm644 "${script}.1.gz" "$pkgdir/usr/share/man/man1/${script}.1.gz"
+ gzip -f "man/${script}.8"
+ install -Dm644 "man/${script}.8.gz" "$pkgdir/usr/share/man/man8/${script}.8.gz"
done
install -Dm644 "LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
- install -dm755 "$pkgdir/usr/share/doc/$pkgname"
- cp -av doc/* "$pkgdir/usr/share/doc/$pkgname"
}
sha256sums=('SKIP')