Date: Saturday, April 25, 2020 @ 16:51:22 Author: foutrelis Revision: 620983
archrelease: copy trunk to community-staging-x86_64 Added: livewallpaper/repos/community-staging-x86_64/ livewallpaper/repos/community-staging-x86_64/PKGBUILD (from rev 620982, livewallpaper/trunk/PKGBUILD) ----------+ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) Copied: livewallpaper/repos/community-staging-x86_64/PKGBUILD (from rev 620982, livewallpaper/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-04-25 16:51:22 UTC (rev 620983) @@ -0,0 +1,39 @@ +# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> +# Contributor: Salamandar <fe...@piedallu.me> + +pkgname=livewallpaper +pkgver=0.5.0.333 +pkgrel=3 +pkgdesc='Animated 3D wallpapers' +url='https://launchpad.net/livewallpaper' +license=(GPL3) +arch=(x86_64) +depends=(glew libpeas python-cairo python-gobject python-opengl python-pillow upower) +makedepends=(bzr cmake gobject-introspection intltool ninja vala xcftools) +source=("$pkgname::bzr+$url/trunk#revision=${pkgver##*.}") +sha256sums=('SKIP') + +prepare() { + sed -i '/debian/d' $pkgname/CMakeLists.txt + sed -i "s/--quiet/--quiet --cflags-begin $CFLAGS --cflags-end/g" \ + $pkgname/$pkgname-core/CMakeLists.txt +} + +build() { + mkdir -p build + cd build + cmake "$srcdir/$pkgname" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_C_FLAGS="$CFLAGS -O2 -fPIC -w" \ + -DENABLE_OPTIMIZATION=on \ + -DOpenGL_GL_PREFERENCE=GLVND \ + -G Ninja + ninja +} + +package() { + DESTDIR="$pkgdir" ninja -C build install +} + +# getver: launchpad.net/livewallpaper/+download +# vim: ts=2 sw=2 et: