blob: 4b142e3b5bee74ef34af952101c0d441773b59a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# 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})
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
}
# vim:set ts=4 sw=4 et:1
|