summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoryjun1232020-07-06 17:23:48 +0800
committeryjun1232020-07-06 17:23:48 +0800
commit9dd727ca5bcbf4c2b0b6267147735cdead5486e5 (patch)
tree9359f9b6f161d70ae82d2889cf3c19483282fc8b
parentc87587f00e118a17305bd7f77ab92ed48c16f3b5 (diff)
downloadaur-gnome-breakout-bin.tar.gz
update pkgbuild ,remove unnecessary dependency and icon
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD9
2 files changed, 6 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 68745ac26f5..d2bc1bf0fae 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,12 @@
pkgbase = gnome-breakout-bin
pkgdesc = Clone of the classic game Breakout, written for GNOME
pkgver = 0.5.3
- pkgrel = 1
+ pkgrel = 2
url = http://www.users.on.net/~mipearson/
arch = x86_64
license = GPL3
depends = goocanvas
depends = libgnome-games-support
- depends = gtk3
- depends = gdk-pixbuf2
- depends = cairo
source = gnome-breakout.deb::http://http.us.debian.org/debian/pool/main/g/gnome-breakout/gnome-breakout_0.5.3-7_amd64.deb
sha256sums = d4b3013cd99c6585ce617989e4339aadf578fd10bc56b6b1c90b89d4acd39a35
diff --git a/PKGBUILD b/PKGBUILD
index 7a4fc2dd833..2a539c393f8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,19 +3,20 @@
pkgname=gnome-breakout-bin
_pkgname=gnome-breakout
pkgver=0.5.3
-pkgrel=1
+pkgrel=2
pkgdesc="Clone of the classic game Breakout, written for GNOME"
arch=('x86_64')
url="http://www.users.on.net/~mipearson/"
license=('GPL3')
-depends=('goocanvas' 'libgnome-games-support' 'gtk3' 'gdk-pixbuf2' 'cairo')
+depends=('goocanvas' 'libgnome-games-support')
source=(gnome-breakout.deb::"http://http.us.debian.org/debian/pool/main/g/${_pkgname}/${_pkgname}_${pkgver}-7_amd64.deb")
sha256sums=('d4b3013cd99c6585ce617989e4339aadf578fd10bc56b6b1c90b89d4acd39a35')
+
package() {
- tar -xvf ${srcdir}/data.tar.xz -C ${pkgdir}/
+ tar -xf ${srcdir}/data.tar.xz -C ${pkgdir}/
mkdir ${pkgdir}/usr/bin
mv ${pkgdir}/usr/games/gnome-breakout ${pkgdir}/usr/bin
rmdir ${pkgdir}/usr/games
- install -Dm 644 ${pkgdir}/usr/share/pixmaps/gnome-breakout.png ${pkgdir}/usr/share/icons/hicolor/48x48/gnome-breakout.png
sed -i 's/Icon=gnome-breakout.png/Icon=gnome-breakout/g' ${pkgdir}/usr/share/applications/gnome-breakout.desktop
+ rm -f ${pkgdir}/usr/share/pixmaps/gnome-breakout.xpm
}