2023-02-06 01:45:51 +00:00
|
|
|
# Maintainer: Xavier (sapphirus at azorium dot net)
|
|
|
|
|
|
|
|
_pkgbase=libancient
|
|
|
|
pkgname=${_pkgbase}
|
2023-07-31 07:18:56 +00:00
|
|
|
pkgver=2.1.0
|
2023-02-06 01:45:51 +00:00
|
|
|
pkgrel=1
|
2023-02-06 01:49:02 +00:00
|
|
|
pkgdesc="Decompression routines for ancient formats"
|
2023-02-06 01:45:51 +00:00
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="https://github.com/temisu/ancient/"
|
|
|
|
license=('BSD-2-Clause')
|
|
|
|
|
|
|
|
conflicts=(${_pkgbase}-git)
|
|
|
|
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
|
|
|
|
}
|