aboutsummaryrefslogtreecommitdiffstats
path: root/testing/simplesnap
diff options
context:
space:
mode:
authorHenrik Riomar <henrik.riomar@gmail.com>2019-05-27 19:14:42 +0200
committerHenrik Riomar <henrik.riomar@gmail.com>2019-05-27 19:18:48 +0200
commitb9af31cffdcfbac22560bf1eedf7e17025b5eb46 (patch)
tree6bb1358e548111eb02aa072d4b2fc1c9ff53a82f /testing/simplesnap
parent40437ec074e6bde2cf18c969099795b0079141dc (diff)
downloadaports-b9af31cffdcfbac22560bf1eedf7e17025b5eb46.tar.bz2
aports-b9af31cffdcfbac22560bf1eedf7e17025b5eb46.tar.xz
testing/simplesnap: adopt package
while at it modernise
Diffstat (limited to 'testing/simplesnap')
-rw-r--r--testing/simplesnap/APKBUILD7
1 files changed, 2 insertions, 5 deletions
diff --git a/testing/simplesnap/APKBUILD b/testing/simplesnap/APKBUILD
index a10d97538d..14adc94210 100644
--- a/testing/simplesnap/APKBUILD
+++ b/testing/simplesnap/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
-# Maintainer:
+# Maintainer: Henrik Riomar <henrik.riomar@gmail.com>
pkgname=simplesnap
pkgver=1.0.4
-pkgrel=1
+pkgrel=2
pkgdesc="Simple and powerful network transmission of ZFS snapshots"
url="https://github.com/jgoerzen/simplesnap"
arch="noarch !armhf !armv7"
@@ -19,15 +19,12 @@ builddir="$srcdir/$pkgname-release-$pkgver"
prepare() {
default_prepare
- cd "$builddir"
sed -i 's|sbin/zfs|usr/&|' simplesnap
sed -i 's|sbin/zfs|usr/&|' simplesnapwrap
}
package() {
- cd "$builddir"
-
install -m 0755 -d "$pkgdir"/usr/sbin
install -m 0755 simplesnap "$pkgdir"/usr/sbin/
install -m 0755 simplesnapwrap "$pkgdir"/usr/sbin/