summaryrefslogtreecommitdiff
path: root/libs/expat/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'libs/expat/MAKEPKG')
-rw-r--r--libs/expat/MAKEPKG35
1 files changed, 35 insertions, 0 deletions
diff --git a/libs/expat/MAKEPKG b/libs/expat/MAKEPKG
new file mode 100644
index 0000000..2d950b7
--- /dev/null
+++ b/libs/expat/MAKEPKG
@@ -0,0 +1,35 @@
+#!/bin/mkpkg
+# description: XML parser library
+# url: https://libexpat.github.io/
+
+name=expat
+version=2.8.5
+release=1
+_tag=2_8_5
+source=(https://github.com/libexpat/libexpat/releases/download/R_$_tag/$name-$version.tar.xz)
+
+sha256sums=(
+ "1e727b8933ec51a77a9a9d9afcf8e688bce45d907c13e36ab7393fe36e703182"
+)
+
+build() {
+ cd $name-$version
+ ./configure \
+ --prefix=/usr \
+ --disable-static \
+ --without-docbook \
+ --without-examples \
+ --without-tests
+ make
+ make DESTDIR=$PKG install
+
+ rm -rf $PKG/usr/lib/cmake
+ rm -rf $PKG/usr/share/doc
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh