[arch-commits] Commit in livewallpaper/repos/community-x86_64 (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Thu Feb 14 18:47:04 UTC 2019


    Date: Thursday, February 14, 2019 @ 18:47:02
  Author: arodseth
Revision: 432245

archrelease: copy trunk to community-x86_64

Added:
  livewallpaper/repos/community-x86_64/PKGBUILD
    (from rev 432244, livewallpaper/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: livewallpaper/repos/community-x86_64/PKGBUILD (from rev 432244, livewallpaper/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-02-14 18:47:02 UTC (rev 432245)
@@ -0,0 +1,39 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Salamandar <felix at piedallu.me>
+
+pkgname=livewallpaper
+pkgver=0.5.0.333
+pkgrel=1
+pkgdesc='Animated 3D wallpapers'
+url='https://launchpad.net/livewallpaper'
+license=(GPL3)
+arch=(x86_64)
+makedepends=(bzr cmake intltool ninja vala xcftools)
+depends=(glew gobject-introspection libappindicator-gtk3 libpeas python-cairo python-opengl upower)
+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:



More information about the arch-commits mailing list