mirror of
https://aur.archlinux.org/libancient-git.git
synced 2024-12-27 07:06:54 -05:00
Formatting
This commit is contained in:
parent
d64fd3b7c2
commit
2dcba30ea9
1 changed files with 13 additions and 16 deletions
29
PKGBUILD
29
PKGBUILD
|
@ -1,4 +1,4 @@
|
|||
# Maintainer: Xavier (sapphirus at azorium dot net)
|
||||
# Maintainer: Xavier Moffett (sapphirus at azorium dot net)
|
||||
|
||||
_pkgbase=libancient
|
||||
pkgname=${_pkgbase}-git
|
||||
|
@ -12,33 +12,30 @@ license=('BSD-2-Clause')
|
|||
conflicts=(${_pkgbase})
|
||||
provides=(${_pkgbase}=${pkgver})
|
||||
|
||||
#depends=('')
|
||||
|
||||
makedepends=('git'
|
||||
'autoconf-archive')
|
||||
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/./')"
|
||||
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"
|
||||
cd $_pkgbase
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr LIBANCIENT_CXXFLAGS="-DANCIENT_API_VISIBILITY_DEFAULT -std=c++17"
|
||||
}
|
||||
|
||||
|
||||
build() {
|
||||
cd $_pkgbase
|
||||
make DESTDIR="$pkgdir"
|
||||
cd $_pkgbase
|
||||
make DESTDIR="$pkgdir"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $_pkgbase
|
||||
make DESTDIR="$pkgdir" install
|
||||
cd $_pkgbase
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
# vim:set ts=4 sw=4 et:1
|
||||
|
|
Loading…
Reference in a new issue