Date: Monday, March 25, 2019 @ 12:35:26 Author: arodseth Revision: 443449
archrelease: copy trunk to community-x86_64 Added: xaos/repos/community-x86_64/PKGBUILD (from rev 443448, xaos/trunk/PKGBUILD) ----------+ PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) Copied: xaos/repos/community-x86_64/PKGBUILD (from rev 443448, xaos/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-03-25 12:35:26 UTC (rev 443449) @@ -0,0 +1,47 @@ +# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> +# Contributor: Eric Bélanger <e...@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: