2024-10-11 20:48:27 +00:00
|
|
|
# Maintainer: Xavier Moffett (sapphirus at azorium dot net)
|
2023-02-06 01:45:51 +00:00
|
|
|
|
|
|
|
_pkgbase=libancient
|
|
|
|
pkgname=${_pkgbase}
|
2024-10-11 20:48:27 +00:00
|
|
|
pkgver=2.2.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')
|
|
|
|
provides=(${_pkgbase}=${pkgver})
|
2024-10-11 23:00:47 +00:00
|
|
|
makedepends=('git' 'autoconf-archive')
|
2023-02-06 01:45:51 +00:00
|
|
|
source=(${_pkgbase}::git+https://github.com/temisu/ancient.git#tag=v${pkgver})
|
|
|
|
md5sums=('SKIP')
|
|
|
|
|
|
|
|
prepare() {
|
2024-10-11 23:00:47 +00:00
|
|
|
cd $_pkgbase
|
|
|
|
./autogen.sh
|
|
|
|
./configure --prefix=/usr LIBANCIENT_CXXFLAGS="-DANCIENT_API_VISIBILITY_DEFAULT -std=c++17"
|
2023-02-06 01:45:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
build() {
|
2024-10-11 23:00:47 +00:00
|
|
|
cd $_pkgbase
|
|
|
|
make DESTDIR="$pkgdir"
|
2023-02-06 01:45:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2024-10-11 23:00:47 +00:00
|
|
|
cd $_pkgbase
|
|
|
|
make DESTDIR="$pkgdir" install
|
2023-02-06 01:45:51 +00:00
|
|
|
}
|
2024-10-11 23:00:47 +00:00
|
|
|
|
|
|
|
# vim:set ts=4 sw=4 et:1
|