Template
1
0
Fork 0
mirror of https://aur.archlinux.org/libancient-git.git synced 2024-12-27 23:16:55 -05:00

Formatting

This commit is contained in:
Xavier Moffett 2024-10-11 19:01:16 -04:00
parent d64fd3b7c2
commit 2dcba30ea9
Signed by: Sapphirus
GPG key ID: A6C061B2CEA1A7AC

View file

@ -1,4 +1,4 @@
# Maintainer: Xavier (sapphirus at azorium dot net) # Maintainer: Xavier Moffett (sapphirus at azorium dot net)
_pkgbase=libancient _pkgbase=libancient
pkgname=${_pkgbase}-git pkgname=${_pkgbase}-git
@ -12,33 +12,30 @@ license=('BSD-2-Clause')
conflicts=(${_pkgbase}) conflicts=(${_pkgbase})
provides=(${_pkgbase}=${pkgver}) provides=(${_pkgbase}=${pkgver})
#depends=('') makedepends=('git' 'autoconf-archive')
makedepends=('git'
'autoconf-archive')
source=(${_pkgbase}::git+https://github.com/temisu/ancient.git) source=(${_pkgbase}::git+https://github.com/temisu/ancient.git)
md5sums=('SKIP') md5sums=('SKIP')
pkgver() { pkgver() {
cd $_pkgbase cd $_pkgbase
echo "$(git describe --tags | sed 's/^v//; s/-/.r/; s/-g/./')" echo "$(git describe --tags | sed 's/^v//; s/-/.r/; s/-g/./')"
} }
prepare() { prepare() {
cd $_pkgbase cd $_pkgbase
./autogen.sh ./autogen.sh
./configure --prefix=/usr LIBANCIENT_CXXFLAGS="-DANCIENT_API_VISIBILITY_DEFAULT -std=c++17" ./configure --prefix=/usr LIBANCIENT_CXXFLAGS="-DANCIENT_API_VISIBILITY_DEFAULT -std=c++17"
} }
build() { build() {
cd $_pkgbase cd $_pkgbase
make DESTDIR="$pkgdir" make DESTDIR="$pkgdir"
} }
package() { package() {
cd $_pkgbase cd $_pkgbase
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
} }
# vim:set ts=4 sw=4 et:1