diff options
author | TBK <tbk@jjtc.dk> | 2017-11-28 20:43:41 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-11-29 22:47:27 +0100 |
commit | ca11d13285797a10bd38a4b2d14322303e56d51b (patch) | |
tree | a588fb76aaf05f018b1f219cfc4cb4d49ae76c43 /testing/radicale | |
parent | 315c00b89fbc706fde9ca1cb9b8966ba7124c0cf (diff) | |
download | aports-ca11d13285797a10bd38a4b2d14322303e56d51b.tar.bz2 aports-ca11d13285797a10bd38a4b2d14322303e56d51b.tar.xz |
testing/radicale: modernize abuild
Diffstat (limited to 'testing/radicale')
-rw-r--r-- | testing/radicale/APKBUILD | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/testing/radicale/APKBUILD b/testing/radicale/APKBUILD index 0551bf1954..46b840a649 100644 --- a/testing/radicale/APKBUILD +++ b/testing/radicale/APKBUILD @@ -8,25 +8,13 @@ url="http://radicale.org" arch="noarch" license="GPLv3+" depends="python3 py3-vobject" -depends_dev="" -makedepends="$depends_dev python3" pkgusers="radicale" pkggroups="radicale" install="$pkgname.pre-install" -subpackages="" +options="!check" # no test suite source="https://files.pythonhosted.org/packages/source/R/Radicale/Radicale-$pkgver.tar.gz $pkgname.initd" - -builddir="$srcdir"/Radicale-$pkgver -prepare() { - local i - cd "$builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i;; - esac - done -} +builddir="$srcdir/Radicale-$pkgver" build() { cd "$builddir" @@ -35,6 +23,7 @@ build() { package() { cd "$builddir" + python3 setup.py install --skip-build --prefix=/usr \ --root="$pkgdir" @@ -46,7 +35,6 @@ package() { "$pkgdir"/var/log/radicale install -Dm755 "$srcdir"/radicale.initd \ "$pkgdir"/etc/init.d/radicale - } sha512sums="038bee4114b090bcf873e8a4ec83cbbc7bdd34b4843fd1a769a023c891b589b3a18637d5f8f8595691a7930804ad7695e333bb9df96d00515b7a3695294eb5f7 Radicale-2.1.8.tar.gz |