mirror of
https://aur.archlinux.org/libancient.git
synced 2024-12-04 17:07:16 +00:00
Initial commit - libAncient 2.0.0
This commit is contained in:
commit
3f1f5fa529
2 changed files with 53 additions and 0 deletions
15
.SRCINFO
Normal file
15
.SRCINFO
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
pkgbase = libancient
|
||||||
|
pkgver = 2.0.0
|
||||||
|
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
|
||||||
|
conflicts = libancient-git
|
||||||
|
source = libancient::git+https://github.com/temisu/ancient.git#tag=v2.0.0
|
||||||
|
md5sums = SKIP
|
||||||
|
|
||||||
|
pkgname = libancient
|
38
PKGBUILD
Normal file
38
PKGBUILD
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
# Maintainer: Xavier (sapphirus at azorium dot net)
|
||||||
|
|
||||||
|
_pkgbase=libancient
|
||||||
|
pkgname=${_pkgbase}
|
||||||
|
pkgver=2.0.0
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc=""
|
||||||
|
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
|
||||||
|
}
|
Loading…
Reference in a new issue