1
0
Fork 0
mirror of https://aur.archlinux.org/libancient.git synced 2024-10-18 11:22:57 +00:00
libancient/PKGBUILD
Xavier Moffett 6ba9db3c54
Update to 2.2.0
- Bump to libancient 2.2.0
- Update PKGBUILD attribution
2024-10-11 16:48:27 -04:00

36 lines
709 B
Bash

# Maintainer: Xavier Moffett (sapphirus at azorium dot net)
_pkgbase=libancient
pkgname=${_pkgbase}
pkgver=2.2.0
pkgrel=1
pkgdesc="Decompression routines for ancient formats"
arch=('i686' 'x86_64')
url="https://github.com/temisu/ancient/"
license=('BSD-2-Clause')
provides=(${_pkgbase}=${pkgver})
#depends=('')
makedepends=('git'
'autoconf-archive')
source=(${_pkgbase}::git+https://github.com/temisu/ancient.git#tag=v${pkgver})
md5sums=('SKIP')
prepare() {
cd $_pkgbase
./autogen.sh
./configure --prefix=/usr LIBANCIENT_CXXFLAGS="-DANCIENT_API_VISIBILITY_DEFAULT -std=c++17"
}
build() {
cd $_pkgbase
make DESTDIR="$pkgdir"
}
package() {
cd $_pkgbase
make DESTDIR="$pkgdir" install
}