aboutsummaryrefslogtreecommitdiffstats
path: root/main/sylpheed
diff options
context:
space:
mode:
authortmpfile <tmpfile@users.noreply.github.com>2017-05-13 18:37:10 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2017-06-06 20:30:56 +0000
commit6ad45b40da0f299d4c9109af5f24ac7435e8de28 (patch)
tree524790f910f36174d067a91f46e0b10758dc8bb8 /main/sylpheed
parenta17755a8b7ad61415ff2236db7b92513b3703da6 (diff)
downloadaports-6ad45b40da0f299d4c9109af5f24ac7435e8de28.tar.bz2
aports-6ad45b40da0f299d4c9109af5f24ac7435e8de28.tar.xz
main/sylpheed: modernize abuild
Diffstat (limited to 'main/sylpheed')
-rw-r--r--main/sylpheed/APKBUILD20
1 files changed, 5 insertions, 15 deletions
diff --git a/main/sylpheed/APKBUILD b/main/sylpheed/APKBUILD
index 840a292019..f82a706ee2 100644
--- a/main/sylpheed/APKBUILD
+++ b/main/sylpheed/APKBUILD
@@ -9,17 +9,7 @@ license="GPL"
depends="pinentry-gtk"
makedepends="gtk+-dev openldap-dev libressl-dev gpgme-dev"
subpackages="$pkgname-dev $pkgname-lang"
-source="http://$pkgname.sraoss.jp/$pkgname/v${pkgver%.*}/$pkgname-$pkgver.tar.bz2
- "
-
-prepare() {
- cd "$srcdir/sylpheed-$pkgver"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+source="http://$pkgname.sraoss.jp/$pkgname/v${pkgver%.*}/$pkgname-$pkgver.tar.bz2"
build() {
cd "$srcdir/sylpheed-$pkgver"
@@ -29,13 +19,13 @@ build() {
--prefix=/usr \
--enable-ldap \
--disable-gtkspell \
- --enable-gpgme \
- || return 1
- make || return 1
+ --enable-gpgme
+ make
}
package() {
cd "$srcdir/sylpheed-$pkgver"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
+
sha512sums="264aafb40eaa163405074480b2deb7eefe0d2158a107d9b26bc35d5506dcf5a52cf5712b81bd4c06b4c76e48c6e372c74473e5371bbdc80f230267f3b211c7f5 sylpheed-3.5.1.tar.bz2"