1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: AndyRTR <andyrtr@archlinux.org>
8 pkgdesc="A library for Microsoft compression formats"
9 url=https://www.cabextract.org.uk/libmspack/
14 provides=(libmspack.so)
16 _commit=ec93021025f27983027c1bc101f674cb14a85c0d # tags/v0.10.1alpha^0
17 source=("git+https://github.com/kyz/libmspack#commit=$_commit")
22 git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
32 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
34 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
45 make DESTDIR="$pkgdir" install
48 # vim:set sw=2 sts=-1 et: