[arch-commits] Commit in (5 files)

Alexander Rødseth arodseth at archlinux.org
Mon Mar 25 12:35:06 UTC 2019


    Date: Monday, March 25, 2019 @ 12:35:02
  Author: arodseth
Revision: 443448

Add xaos, a fractal zoomer

Added:
  xaos/
  xaos/repos/
  xaos/repos/community-x86_64/
  xaos/trunk/
  xaos/trunk/PKGBUILD

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

Added: xaos/trunk/PKGBUILD
===================================================================
--- xaos/trunk/PKGBUILD	                        (rev 0)
+++ xaos/trunk/PKGBUILD	2019-03-25 12:35:02 UTC (rev 443448)
@@ -0,0 +1,47 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+pkgname=xaos
+pkgver=3.6
+pkgrel=7
+pkgdesc='Interactive fractal zoomer'
+arch=(x86_64)
+# https is not available
+url='http://matek.hu/xaos/'
+license=(GPL)
+makedepends=(gendesk)
+depends=(aalib gsl gtk2 libpng)
+options=(!makeflags)
+source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('989f3e38f7793810cbb1496d5291d44836a7d7c058422b9ee1cffb163a0b8d95')
+
+prepare() {
+  gendesk -f -n --pkgname=$pkgname --pkgdesc="$pkgdesc" \
+    --categories='Application;Graphics'
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure \
+    --prefix=/usr \
+    --with-long-double=yes \
+    --with-mitshm=no \
+    --with-pthread=yes \
+    --with-png=yes \
+    --with-gsl=yes \
+    --with-x11-driver=no \
+    --with-gtk-driver=yes \
+    --with-win32-driver=no \
+    --with-aa-driver=yes
+  make
+}
+
+package() {
+  make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
+  install -Dm644 "$pkgname-$pkgver/src/ui/ui-drv/qt/images/xaosbig.png" \
+    "$pkgdir/usr/share/pixmaps/$pkgname.png"
+  install -Dm644 $pkgname.desktop \
+    "$pkgdir/usr/share/applications/$pkgname.desktop"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list