diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-12-22 15:15:33 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-12-22 15:15:45 +0000 |
commit | f147132d146d8ef17d720ce1637905d9a56c35a2 (patch) | |
tree | 7ff9016bafc2698ddf521f9f98660bd408c9b844 /main | |
parent | 003dcbd0df3e27459f629266a5bf87811ec76163 (diff) | |
download | aports-f147132d146d8ef17d720ce1637905d9a56c35a2.tar.bz2 aports-f147132d146d8ef17d720ce1637905d9a56c35a2.tar.xz |
main/nextcloud: APKBUILD updates
Diffstat (limited to 'main')
-rw-r--r-- | main/nextcloud/APKBUILD | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/main/nextcloud/APKBUILD b/main/nextcloud/APKBUILD index 236d2611f5..545fc6879d 100644 --- a/main/nextcloud/APKBUILD +++ b/main/nextcloud/APKBUILD @@ -24,8 +24,7 @@ source="https://download.nextcloud.com/server/releases/$pkgname-$pkgver.zip " pkggroups="www-data" -#_builddir="$srcdir"/core-$pkgver -_builddir="$srcdir"/$pkgname +builddir="$srcdir"/$pkgname _ncbasedir="/var/lib/$pkgname" _ncdatadir="$_ncbasedir/data" @@ -35,7 +34,7 @@ _ncconfdir="/etc/$pkgname" prepare() { - cd "$_builddir" + cd "$builddir" for i in $source; do case $i in *.patch) msg "Applying patch $i"; patch -p1 -i "$srcdir"/$i || return 1;; @@ -44,12 +43,12 @@ prepare() { } build() { - cd "$_builddir" + cd "$builddir" return 0 } package() { - cd "$_builddir" + cd "$builddir" for dir in ${_ncconfdir} ${_ncdatadir} ${_ncwwwdir}; do mkdir -p "$pkgdir"$dir || return 1 done |