diff options
Diffstat (limited to 'main/libverto')
-rw-r--r-- | main/libverto/APKBUILD | 34 |
1 files changed, 12 insertions, 22 deletions
diff --git a/main/libverto/APKBUILD b/main/libverto/APKBUILD index 3999ba05ef..727219e1c5 100644 --- a/main/libverto/APKBUILD +++ b/main/libverto/APKBUILD @@ -1,33 +1,25 @@ -# Contributor: -# Maintainer: +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=libverto pkgver=0.2.5 -pkgrel=1 +pkgrel=2 pkgdesc="Main loop abstraction library" -url="https://fedorahosted.org/libverto/" +url="https://github.com/npmccallum/libverto" arch="all" license="MIT" depends="" -depends_dev="" -makedepends="$depends_dev glib-dev libevent-dev libev-dev" -install="" +makedepends="glib-dev libevent-dev libev-dev automake autoconf libtool" subpackages="$pkgname-dev $pkgname-libev $pkgname-libevent $pkgname-glib" -source="http://fedorahosted.org/releases/l/i/libverto/libverto-$pkgver.tar.gz" +source="$pkgname-$pkgver.tar.gz::https://github.com/npmccallum/$pkgname/archive/$pkgver.tar.gz" -_builddir="$srcdir"/libverto-$pkgver +builddir="$srcdir"/libverto-$pkgver prepare() { - local i - cd "$_builddir" - update_config_sub || return 1 - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + cd "$builddir" + autoreconf -i } build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -39,7 +31,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } @@ -53,6 +45,4 @@ libev() { _mv_backend libev; } libevent() { _mv_backend libevent; } glib() { _mv_backend glib; } -md5sums="144fb8f00759ef8ad71c472333847f03 libverto-0.2.5.tar.gz" -sha256sums="b249067e91a98a5a44ff958d77c2e5a45de697d08dfd22800aa760d752d7a6ce libverto-0.2.5.tar.gz" -sha512sums="d57a7f86e714d3fbed391984de3356d8a2769f846985769c1be7d881647c1be95a5fc6a82bba1660ef3241aa1a40150b5e005af6f35dc32473facfdea49c556e libverto-0.2.5.tar.gz" +sha512sums="f5c9c8a999fec932022c30836791d77b30cf85f4e03f5cd28e3cac76a7dcd91e0d233f963437af25666908ef2ea5a9c6c7c817cfa42e675c81665df19971b070 libverto-0.2.5.tar.gz" |