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

Jakob Gruber schuay at archlinux.org
Fri Dec 2 19:49:08 UTC 2016


    Date: Friday, December 2, 2016 @ 19:49:08
  Author: schuay
Revision: 197774

rftg-0.9.5-1

Modified:
  rftg/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-12-02 18:47:16 UTC (rev 197773)
+++ PKGBUILD	2016-12-02 19:49:08 UTC (rev 197774)
@@ -2,7 +2,7 @@
 # Contributor: mk47at
 
 pkgname=rftg
-pkgver=0.9.4.q
+pkgver=0.9.5
 _pkgver=0.9.4
 pkgrel=1
 pkgdesc="Singleplayer and online implementation of the card game Race for the Galaxy by Tom Lehman."
@@ -10,18 +10,12 @@
 url="http://keldon.net/rftg/"
 license=('GPL')
 depends=('gtk2')
-source=("http://keldon.net/rftg/$pkgname-$_pkgver.tar.bz2"
-        "https://dl.dropboxusercontent.com/u/7379896/$pkgname/$pkgname-${_pkgver}q-patch.zip"
+source=("https://github.com/bnordli/rftg/archive/${pkgver}.tar.gz"
         "$pkgname.desktop"
         "rftg.svg")
 
-prepare() {
-  cd "$srcdir/$pkgname-$_pkgver"
-  patch -Np0 < "$srcdir/$pkgname-${_pkgver}q.patch"
-}
-
 build() {
-  cd "$srcdir/$pkgname-$_pkgver"
+  cd "$srcdir/$pkgname-$pkgver/src"
 
   ./configure --prefix=/usr
   make
@@ -28,7 +22,7 @@
 }
 
 package() {
-  cd "$srcdir/$pkgname-$_pkgver"
+  cd "$srcdir/$pkgname-$pkgver/src"
  
   make DESTDIR="$pkgdir/" install
   install -D -m644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
@@ -35,7 +29,6 @@
   install -D -m644 "$srcdir/$pkgname.svg" "$pkgdir/usr/share/rftg/$pkgname.svg"
 }
 
-md5sums=('065255057b1c60d744c3fed2c93d95bb'
-         'd62055acbe62d7fa119267ad42b90506'
+md5sums=('9cd1154ba43651890bea4dc35b1678fc'
          'f2c1a72b0fbf191e564069dfe61d50c4'
          'e0ad78078729229ad1414276348b7d98')



More information about the arch-commits mailing list