mirror of
https://aur.archlinux.org/libancient.git
synced 2024-11-23 04:26:29 +00:00
Formatting
This commit is contained in:
parent
6ba9db3c54
commit
41e69db301
1 changed files with 10 additions and 13 deletions
23
PKGBUILD
23
PKGBUILD
|
@ -9,28 +9,25 @@ arch=('i686' 'x86_64')
|
||||||
url="https://github.com/temisu/ancient/"
|
url="https://github.com/temisu/ancient/"
|
||||||
license=('BSD-2-Clause')
|
license=('BSD-2-Clause')
|
||||||
provides=(${_pkgbase}=${pkgver})
|
provides=(${_pkgbase}=${pkgver})
|
||||||
|
makedepends=('git' 'autoconf-archive')
|
||||||
#depends=('')
|
|
||||||
|
|
||||||
makedepends=('git'
|
|
||||||
'autoconf-archive')
|
|
||||||
|
|
||||||
source=(${_pkgbase}::git+https://github.com/temisu/ancient.git#tag=v${pkgver})
|
source=(${_pkgbase}::git+https://github.com/temisu/ancient.git#tag=v${pkgver})
|
||||||
md5sums=('SKIP')
|
md5sums=('SKIP')
|
||||||
|
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue