diff options
author | Henrik Riomar <henrik.riomar@gmail.com> | 2017-05-15 19:17:19 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-06-06 17:47:42 +0000 |
commit | e8b436cfaa85d728665a93b7466b42639569873e (patch) | |
tree | 5a11feebbc439b48934d714422cc942545fe6c2e /community | |
parent | c6bf31ba99eba81f53016bb6c9715b4c495148d1 (diff) | |
download | aports-e8b436cfaa85d728665a93b7466b42639569873e.tar.bz2 aports-e8b436cfaa85d728665a93b7466b42639569873e.tar.xz |
community/safekeep: modernize APKBUILD
Diffstat (limited to 'community')
-rw-r--r-- | community/safekeep/APKBUILD | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/community/safekeep/APKBUILD b/community/safekeep/APKBUILD index 17f044d7b2..82aa0c0566 100644 --- a/community/safekeep/APKBUILD +++ b/community/safekeep/APKBUILD @@ -18,14 +18,14 @@ builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" - make man || return 1 + make man # ionice from util-linux is in /usr/bin (busybox in /bin) - sed -i 's|PATH=/sbin:/bin:/usr/sbin:/usr/bin|PATH=/sbin:/usr/sbin:/usr/bin:/bin|' safekeep.cron || return 1 + sed -i 's|PATH=/sbin:/bin:/usr/sbin:/usr/bin|PATH=/sbin:/usr/sbin:/usr/bin:/bin|' safekeep.cron } check() { cd "$builddir" - PATH="$PATH:." make check || return 1 + PATH="$PATH:." make check } client() { @@ -39,14 +39,14 @@ server() { pkgdesc="SafeKeep backup system - server" depends="$pkgname" mkdir -p "$subpkgdir" - mv "$pkgdir"/etc "$subpkgdir"/etc || return 1 - mkdir "$subpkgdir"/etc/periodic || return 1 - mv "$subpkgdir"/etc/cron.daily "$subpkgdir"/etc/periodic/daily || return 1 + mv "$pkgdir"/etc "$subpkgdir"/etc + mkdir "$subpkgdir"/etc/periodic + mv "$subpkgdir"/etc/cron.daily "$subpkgdir"/etc/periodic/daily } package() { cd "$builddir" - make install DESTDIR="$pkgdir" || return 1 + make install DESTDIR="$pkgdir" } sha512sums="2afdf6784ef2033032978554bc4b8703be86b5dde92795f1b7efe0099fc4cd35d215bc390e9b9ee3b3e396435ab1168a81dad1c7051861fb584a31749e63c68d safekeep-1.4.4.tar.gz |