[arch-commits] Commit in xaos/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Mon Mar 23 18:06:29 UTC 2020


    Date: Monday, March 23, 2020 @ 18:06:29
  Author: arodseth
Revision: 603758

upgpkg: xaos 3.7-1

Modified:
  xaos/trunk/PKGBUILD

----------+
 PKGBUILD |   29 ++++++++++++++++-------------
 1 file changed, 16 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-23 17:28:25 UTC (rev 603757)
+++ PKGBUILD	2020-03-23 18:06:29 UTC (rev 603758)
@@ -2,26 +2,29 @@
 # Contributor: Eric Bélanger <eric at archlinux.org>
 
 pkgname=xaos
-pkgver=3.6
-pkgrel=8
+pkgver=3.7
+pkgrel=1
 pkgdesc='Interactive fractal zoomer'
 arch=(x86_64)
-# https is not available
-url='http://matek.hu/xaos/'
+url='https://xaos-project.github.io/'
 license=(GPL)
-makedepends=(gendesk)
-depends=(aalib gsl gtk2 libpng)
+makedepends=(gendesk git)
+depends=(gsl gtk3 libpng)
 options=(!makeflags)
-source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
-sha256sums=('989f3e38f7793810cbb1496d5291d44836a7d7c058422b9ee1cffb163a0b8d95')
+source=("git+https://github.com/xaos-project/XaoS#commit=1709b93d92eef541c66134db9776935a87b70f05") # tag: release-3.7
+sha256sums=('SKIP')
 
 prepare() {
-  gendesk -f -n --pkgname=$pkgname --pkgdesc="$pkgdesc" \
+  gendesk -f -n \
+    --pkgname=XaoS \
+    --pkgdesc="$pkgdesc" \
+    --exec=xaos \
+    --icon=xaos \
     --categories='Application;Graphics'
 }
 
 build() {
-  cd $pkgname-$pkgver
+  cd XaoS
   ./configure \
     --prefix=/usr \
     --with-long-double=yes \
@@ -37,10 +40,10 @@
 }
 
 package() {
-  make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
-  install -Dm644 "$pkgname-$pkgver/src/ui/ui-drv/qt/images/xaosbig.png" \
+  make -C XaoS DESTDIR="$pkgdir" install
+  install -Dm644 "XaoS/src/ui/ui-drv/qt/images/xaosbig.png" \
     "$pkgdir/usr/share/pixmaps/$pkgname.png"
-  install -Dm644 $pkgname.desktop \
+  install -Dm644 XaoS.desktop \
     "$pkgdir/usr/share/applications/$pkgname.desktop"
 }
 



More information about the arch-commits mailing list