mirror of
https://aur.archlinux.org/libancient-git.git
synced 2024-12-28 15:36:55 -05:00
Initial commit of libancient-git 2.0.0.r6.c35638e
This commit is contained in:
commit
9c92b9a2c6
2 changed files with 60 additions and 0 deletions
16
.SRCINFO
Normal file
16
.SRCINFO
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
pkgbase = libancient-git
|
||||||
|
pkgdesc = Decompression routines for ancient formats
|
||||||
|
pkgver = 2.0.0.r6.c35638e
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://github.com/temisu/ancient/
|
||||||
|
arch = i686
|
||||||
|
arch = x86_64
|
||||||
|
license = BSD-2-Clause
|
||||||
|
makedepends = git
|
||||||
|
makedepends = autoconf-archive
|
||||||
|
provides = libancient=2.0.0.r6.c35638e
|
||||||
|
conflicts = libancient
|
||||||
|
source = libancient::git+https://github.com/temisu/ancient.git
|
||||||
|
md5sums = SKIP
|
||||||
|
|
||||||
|
pkgname = libancient-git
|
44
PKGBUILD
Normal file
44
PKGBUILD
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
# Maintainer: Xavier (sapphirus at azorium dot net)
|
||||||
|
|
||||||
|
_pkgbase=libancient
|
||||||
|
pkgname=${_pkgbase}-git
|
||||||
|
pkgver=2.0.0.r6.c35638e
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Decompression routines for ancient formats"
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="https://github.com/temisu/ancient/"
|
||||||
|
license=('BSD-2-Clause')
|
||||||
|
|
||||||
|
conflicts=(${_pkgbase})
|
||||||
|
provides=(${_pkgbase}=${pkgver})
|
||||||
|
|
||||||
|
#depends=('')
|
||||||
|
|
||||||
|
makedepends=('git'
|
||||||
|
'autoconf-archive')
|
||||||
|
|
||||||
|
source=(${_pkgbase}::git+https://github.com/temisu/ancient.git)
|
||||||
|
md5sums=('SKIP')
|
||||||
|
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd $_pkgbase
|
||||||
|
echo "$(git describe --tags | sed 's/^v//; s/-/.r/; s/-g/./')"
|
||||||
|
}
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
Loading…
Reference in a new issue