Skip to content
Snippets Groups Projects
Commit 916eb2e2 authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

2.4.9-2: libprovides

parent 508f3d13
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
_name=expat
pkgname=lib32-expat
pkgver=2.4.9
pkgrel=1
pkgrel=2
pkgdesc='An XML Parser library'
arch=(x86_64)
url=https://libexpat.github.io/
......@@ -15,6 +15,7 @@ depends=(
lib32-glibc
)
makedepends=(cmake)
provides=(libexpat.so)
options=(debug)
source=("https://github.com/libexpat/libexpat/releases/download/R_${pkgver//./_}/${_name}-${pkgver}.tar.bz2"{,.asc})
sha512sums=('fdfdc57dd11541eb307b38bd97ec84f78012c7b48fafc5c879b4b8c768cabfbcd7652ccec11e870bf31fee8f68174b22cf632de12c8c46601277f6750f90c192'
......@@ -26,7 +27,8 @@ validpgpkeys=(3176EF7DB2367F1FCA4F306B1F9B0E909AF37285) # Sebastian Pipping
build() {
export CC='gcc -m32'
export CXX='c++ -m32'
export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
export PKG_CONFIG=i686-pc-linux-gnu-pkg-config
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib32 \
-DCMAKE_BUILD_TYPE=None \
......@@ -46,4 +48,4 @@ package() {
rm -rf "${pkgdir}"/usr/{bin,include,share/man,share/doc}
}
# vim: ts=2 sw=2 et:
# vim:set sw=2 sts=-1 et:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment