aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-07-14 20:32:35 +0000
committerJakub Jirutka <jakub@jirutka.cz>2017-07-14 22:38:42 +0200
commitc4f3be4d2078500005013ff0cf59d170ca96d2d5 (patch)
treea55564e68d388519904a34178cd94bd861dcd89d
parentbd028120e85c4e5c6f5426ae2fa878f23a3b41d4 (diff)
downloadaports-c4f3be4d2078500005013ff0cf59d170ca96d2d5.tar.gz
aports-c4f3be4d2078500005013ff0cf59d170ca96d2d5.tar.bz2
aports-c4f3be4d2078500005013ff0cf59d170ca96d2d5.tar.xz
community/luufs: modernize APKBUILD
-rw-r--r--community/luufs/APKBUILD26
1 files changed, 6 insertions, 20 deletions
diff --git a/community/luufs/APKBUILD b/community/luufs/APKBUILD
index 93dcb490d8..d6249112b4 100644
--- a/community/luufs/APKBUILD
+++ b/community/luufs/APKBUILD
@@ -7,33 +7,19 @@ pkgdesc="Lazy man's, user-mode union file system"
url="http://rlsd.dimakrasner.com/"
arch="all"
license="BSD"
-depends=""
-depends_dev=""
makedepends="fuse-dev zlib-dev"
-install=""
subpackages="$pkgname-doc"
-source="${pkgname}-${pkgver}.zip::http://dimkr.insomnia247.nl/sources/luufs/luufs-git05012015.zip"
-_builddir=${srcdir}/${pkgname}-master
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+source="$pkgname-$pkgver.zip::http://dimkr.insomnia247.nl/sources/luufs/luufs-git$pkgver.zip"
+builddir="$srcdir/$pkgname-master"
build() {
- cd "$_builddir"
- make
+ cd "$builddir"
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR=$pkgdir install
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
-md5sums="a78cc6eaa65892994e39336584631dd3 luufs-05012015.zip"
-sha256sums="719b4af200e55d97224b0427378f3a06829325355863a5201944482827930d30 luufs-05012015.zip"
sha512sums="c93b59286f422aba32958b8ff147e9b1055fd145cabc5adcb6fefe9a4c9ad532e918734b34d84ef407440353f43278ef826c9ef400c1ee6d3082e30ea47e04bb luufs-05012015.zip"