author | Antonio Rojas
<arojas@archlinux.org> 2019-07-14 09:58:46 UTC |
committer | Antonio Rojas
<arojas@archlinux.org> 2019-07-14 09:58:46 UTC |
parent | 7d552b4615aa564a3bc280f9de8f34a1a6075378 |
PKGBUILD | +7 | -7 |
diff --git a/PKGBUILD b/PKGBUILD index 1c63281..02d6d6d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: Thomas Haider <t.haider@vcnc.org> pkgname=libev -pkgver=4.25 +pkgver=4.27 pkgrel=1 pkgdesc="A full-featured and high-performance event loop" arch=('x86_64') @@ -11,27 +11,27 @@ url="https://software.schmorp.de/pkg/libev.html" license=('BSD') depends=('glibc') source=(http://dist.schmorp.de/${pkgname}/${pkgname}-${pkgver}.tar.gz) -sha1sums=('f78a1338a0b975fb396b0b6558709211b6ccd794') +sha1sums=('b67aff18f6f1ffec4422e188c98d9fe458c5ed0b') build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} ./configure --prefix=/usr make } check() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} make check } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install # fix conflict with libevent - rm ${pkgdir}/usr/include/event.h + rm "${pkgdir}"/usr/include/event.h - install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE }