From ff339561a89b9f8d8794cc6bcea05b624762fbfd Mon Sep 17 00:00:00 2001 From: Edgar Date: Sat, 26 Feb 2022 17:28:52 +0100 Subject: [PATCH] :tada: Added ogre-caelum-git --- ogre-caelum-git/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 ogre-caelum-git/PKGBUILD diff --git a/ogre-caelum-git/PKGBUILD b/ogre-caelum-git/PKGBUILD new file mode 100644 index 0000000..7a75881 --- /dev/null +++ b/ogre-caelum-git/PKGBUILD @@ -0,0 +1,37 @@ +pkgname=ogre-caelum-git +pkgver=0.6.3.r38.g7763bff +pkgrel=1 +pkgdesc="Library for OGRE targeted at helping to create nice-looking atmospheric effects." +arch=('i686' 'x86_64') +url="https://ogrecave.github.io/ogre-caelum/" +depends=('ogre') +makedepends=('cmake' 'git') +provides=('caelum') +conflicts=('caelum') +license=('LGPL') +source=("git+https://github.com/OGRECave/ogre-caelum.git") +sha512sums=('SKIP') + +pkgver() { + cd ${srcdir}/ogre-caelum + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd ${srcdir}/ogre-caelum + + # get a clean build dir + # [[ -d build ]] && rm -rf build + # mkdir build && cd build + + cmake . \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release + + make +} + +package() { + cd ${srcdir}/ogre-caelum + make DESTDIR=${pkgdir} install +}