summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2023-12-01 01:10:12 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2023-12-01 01:10:12 -0600
commit59bf8779a24bce538d534111764f8cf6d28e317f (patch)
tree26cd2b079bd4b47ec8906c2a41fcaf192fe967fa
parent24e73b2196493857fe6335710e4205ab96aea6aa (diff)
downloadpackages-59bf8779a24bce538d534111764f8cf6d28e317f.tar.gz
packages-59bf8779a24bce538d534111764f8cf6d28e317f.tar.bz2
packages-59bf8779a24bce538d534111764f8cf6d28e317f.tar.xz
packages-59bf8779a24bce538d534111764f8cf6d28e317f.zip
user/libevent: Packaging fixes
* Run `default_prepare` to apply patch again. * Fix .pc version for #1132.
-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() {