diff options
Diffstat (limited to 'main/hypermail/APKBUILD')
-rw-r--r-- | main/hypermail/APKBUILD | 49 |
1 files changed, 27 insertions, 22 deletions
diff --git a/main/hypermail/APKBUILD b/main/hypermail/APKBUILD index dfb250c2af5..bbcdac214b3 100644 --- a/main/hypermail/APKBUILD +++ b/main/hypermail/APKBUILD @@ -1,27 +1,35 @@ # Contributor: Michael Mason <ms13sp@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=hypermail -pkgver=2.3.0 -pkgrel=4 +pkgver=2.4.0 +pkgrel=3 pkgdesc="Mail Archiver" url="http://www.hypermail-project.org" arch="all" license="GPL-2.0-or-later" depends="lua" -makedepends="pcre-dev bison gdbm-dev" -install="" -subpackages="" -source="http://www.hypermail-project.org/$pkgname-$pkgver.tar.gz - mdir2mbox.lua" +makedepends="autoconf automake libtool pcre-dev bison gdbm-dev" +source="https://github.com/hypermail-project/hypermail/releases/download/v$pkgver/hypermail-$pkgver.tar.gz + modernc.patch + mdir2mbox.lua + " +options="!check" -_builddir="$srcdir"/hypermail prepare() { - cd "$_builddir" - update_config_sub || return 1 + default_prepare + + rm -fv src/trio/*.a + rm -fv src/trio/*.o + update_config_sub + update_config_guess + libtoolize --force + aclocal + autoconf -f } build() { - cd "$_builddir" + # build system does not set the -L correctly to the dir + LDFLAGS="$LDFLAGS -L$PWD/src/trio/" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -30,13 +38,11 @@ build() { --mandir=/usr/share/man \ --infodir=/usr/share/info \ --with-httpddir=/var/www \ - --with-cgidir=/var/www/cgi-bin \ - || return 1 - make || return 1 + --with-cgidir=/var/www/cgi-bin + make -C src/trio + make } package() { - cd "$_builddir" - #does not understand DESTDIR so going to install ourselves #make DESTDIR="$pkgdir" install @@ -46,9 +52,8 @@ package() { install -m755 -D "$srcdir"/mdir2mbox.lua "$pkgdir"/usr/bin/mdir2mbox.lua } -md5sums="510c46b98314f4e98796719f27865846 hypermail-2.3.0.tar.gz -079b00d4ea667a0efd6fd370b1a4d5d8 mdir2mbox.lua" -sha256sums="619938b0cf54eae786f36ef237f106ef7bff7a5c69904ca32afd8d47bf1605d1 hypermail-2.3.0.tar.gz -447069efc7d1ae3cf32f348ca1ddfa18a1354dc74289bcdce9b69fc92ec84eb0 mdir2mbox.lua" -sha512sums="6f4db2613a53f27e88a9827057be57df49b1dfff6dfcc7b531fdb983b03e64818f5845411f9eb42fc7ae8829281c67773d16fcb3b9d3fa2a7c92d5100fa9bb57 hypermail-2.3.0.tar.gz -203c292c46d40c35023629795ef0baa254c036ccfdb5628b3abf2d0c965bff9274f39571dfcb27aa508d9b801356d793fd5f78466ebb69b2306f56b28ac85b9c mdir2mbox.lua" +sha512sums=" +cb21341d60f14fe03ec5817d2464567e9e547d21ce38857a3958a769710da3e49ab4592dac4f87f1f4eb873120659a8fc6a85d27d11b575f855abbf3347bed82 hypermail-2.4.0.tar.gz +91c41a7ab3fccfec80739dbca9d23e7c917836d6275f209d73ca9f851312ace348d6b134ef4d89f35f3db46575095d1becb6c9a174cdf5a11fcad7ee100955df modernc.patch +203c292c46d40c35023629795ef0baa254c036ccfdb5628b3abf2d0c965bff9274f39571dfcb27aa508d9b801356d793fd5f78466ebb69b2306f56b28ac85b9c mdir2mbox.lua +" |