summaryrefslogtreecommitdiff
path: root/user/libevent
diff options
context:
space:
mode:
Diffstat (limited to 'user/libevent')
-rw-r--r--user/libevent/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/user/libevent/APKBUILD b/user/libevent/APKBUILD
index 4270e1fd3..f7ecdc382 100644
--- a/user/libevent/APKBUILD
+++ b/user/libevent/APKBUILD
@@ -3,7 +3,7 @@
pkgname=libevent
pkgver=2.1.13_pre1
pkgdate=20220114
-pkgrel=0
+pkgrel=1
pkgdesc="An event notification library"
url="https://libevent.org/"
arch="all"
@@ -27,7 +27,10 @@ source="https://distfiles.adelielinux.org/source/$pkgname-$pkgver-$pkgdate.tar.g
builddir="$srcdir"/$pkgname-$pkgver-$pkgdate
prepare() {
+ default_prepare
./autogen.sh
+ # See: adelie/packages#1132
+ sed -i -e "s/@VERSION@/$pkgver-r$pkgrel/" *.pc.in
}
build() {