aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-11-25 13:39:46 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-11-25 13:39:46 -0300
commit0ae551ee8ee6e95f86420f9aadf11e55cc0d1bc2 (patch)
tree8db261b71a85798bfb416662d57ab5609607081a
parent1d627693a30a0c6457728c3ec2869381f46f2eff (diff)
downloadaports-0ae551ee8ee6e95f86420f9aadf11e55cc0d1bc2.tar.gz
aports-0ae551ee8ee6e95f86420f9aadf11e55cc0d1bc2.tar.bz2
aports-0ae551ee8ee6e95f86420f9aadf11e55cc0d1bc2.tar.xz
main/mlmmj: modernize
-rw-r--r--main/mlmmj/APKBUILD12
1 files changed, 3 insertions, 9 deletions
diff --git a/main/mlmmj/APKBUILD b/main/mlmmj/APKBUILD
index 49085b9aca..e57701e38b 100644
--- a/main/mlmmj/APKBUILD
+++ b/main/mlmmj/APKBUILD
@@ -7,8 +7,6 @@ url="http://mlmmj.org/"
arch="all"
license="MIT"
subpackages="$pkgname-doc"
-depends=
-makedepends=
install="$pkgname.pre-install"
pkgusers="mlmmj"
pkggroups="mlmmj"
@@ -17,19 +15,15 @@ source="http://mlmmj.org/releases/mlmmj-$pkgver.tar.gz
"
build() {
- cd "$srcdir"/$pkgname-$pkgver
-
./configure \
--build=$CBUILD \
--host=$CHOST \
- --prefix=/usr \
- || return 1
- make || return 1
+ --prefix=/usr
+ make
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
- make -j1 DESTDIR="$pkgdir" install || return 1
+ make -j1 DESTDIR="$pkgdir" install
install -d "$pkgdir"/usr/share/mlmmj/texts
cp -r listtexts/* "$pkgdir"/usr/share/mlmmj/texts/
install -o mlmmj -g mlmmj -d "$pkgdir"/var/spool/mlmmj