summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Rojas2017-04-01 08:12:49 +0000
committerAntonio Rojas2017-04-01 08:12:49 +0000
commit835028d42fa93c424a438316ed5e73deee76586c (patch)
tree8640f0c91cd417d65d2582ee4a9dfbc39e256fbe
parent2b795a7cc2de9e66400ce29282967e098f1c8ec6 (diff)
downloadaur-kbackgammon.tar.gz
Fix dependencies and source
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD27
2 files changed, 19 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f70aca8e774..3b5259e1f1b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,17 @@
-# Generated by mksrcinfo v8
-# Sun May 15 20:35:46 UTC 2016
pkgbase = kbackgammon
pkgdesc = Backgammon game for KDE
pkgver = 0.18
- pkgrel = 2
- url = http://kde-apps.org/content/show.php/KBackgammon?content=142680
+ pkgrel = 3
+ url = https://www.linux-apps.com/content/show.php/KBackgammon?content=142680
arch = i686
arch = x86_64
license = GPL
makedepends = cmake
makedepends = automoc4
depends = kdebase-runtime
- depends = libkdegames
- source = http://kde-apps.org/CONTENT/content-files/142680-backgammon_018.tar.gz
- md5sums = 4c3a404f80e12b67c34f8da23159a4d4
+ depends = libkdegames4
+ source = https://dl.opendesktop.org/api/files/download/id/1464969373/142680-backgammon_018.tar.gz
+ sha256sums = f767aae42e33bd9f68cbf5d956e56de540f36c402925a3a9699c0e00447a979b
pkgname = kbackgammon
diff --git a/PKGBUILD b/PKGBUILD
index 3090dbacd53..616104603fe 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,29 @@
# Maintainer: Antonio Rojas <arojas@archlinux.org>
pkgname=kbackgammon
-_pkgname=backgammon
pkgver=0.18
_pkgver=018
-pkgrel=2
+pkgrel=3
pkgdesc="Backgammon game for KDE"
-arch=('i686' 'x86_64')
-url="http://kde-apps.org/content/show.php/KBackgammon?content=142680"
-license=('GPL')
-depends=('kdebase-runtime' 'libkdegames')
-makedepends=('cmake' 'automoc4')
-source=("http://kde-apps.org/CONTENT/content-files/142680-${_pkgname}_${_pkgver}.tar.gz")
-md5sums=('4c3a404f80e12b67c34f8da23159a4d4')
+arch=(i686 x86_64)
+url="https://www.linux-apps.com/content/show.php/KBackgammon?content=142680"
+license=(GPL)
+depends=(kdebase-runtime libkdegames4)
+makedepends=(cmake automoc4)
+source=("https://dl.opendesktop.org/api/files/download/id/1464969373/142680-backgammon_${pkgver//./}.tar.gz")
+sha256sums=('f767aae42e33bd9f68cbf5d956e56de540f36c402925a3a9699c0e00447a979b')
+
+prepare() {
+ mkdir -p build
+}
build() {
- cd ${_pkgname}
- mkdir build
cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
+ cmake ../backgammon -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
make
}
package() {
- cd ${_pkgname}/build
+ cd build
make DESTDIR="$pkgdir" install
}