summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Ferreira2015-06-20 13:34:03 -0300
committerRafael Ferreira2015-06-20 13:34:03 -0300
commitebf34237b87e5804363ea72b97c84624f12f2f9c (patch)
tree9722e59959ec48b28551d6ec7b265e53b6d96b87
downloadaur-ebf34237b87e5804363ea72b97c84624f12f2f9c.tar.gz
Initial import
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD41
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7c5490ac54f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = sudokuki
+ pkgdesc = A free graphical sudoku game written in Java
+ pkgver = 1.2.2
+ pkgrel = 2
+ url = http://sudokuki.sourceforge.net/
+ arch = any
+ license = GPL3
+ makedepends = java-environment
+ depends = java-runtime
+ options = !emptydirs
+ options = !libtool
+ source = http://downloads.sourceforge.net/sudokuki/sudokuki-1.2.2.tar.bz2
+ md5sums = b7e205cf978829ad638845190d3ebb2d
+
+pkgname = sudokuki
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bdf19ba09bd
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: josephgbr <rafael.f.f1@gmail.com>
+# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
+# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
+
+pkgname=sudokuki
+pkgver=1.2.2
+pkgrel=2
+pkgdesc="A free graphical sudoku game written in Java"
+arch=('any')
+url="http://sudokuki.sourceforge.net/"
+license=('GPL3')
+depends=('java-runtime')
+makedepends=('java-environment')
+options=('!emptydirs' '!libtool')
+source=( "http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2")
+md5sums=('b7e205cf978829ad638845190d3ebb2d')
+
+prepare() {
+ gendesk -f -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" \
+ --name 'Sudokuki' --categories 'Game;ArcadeGame'
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="${pkgdir}" noinst_libdir="" install
+
+ # Install .desktop file
+ install -Dm644 src/resources/files/net/jankenpoi/sudokuki/resources/images/logo.png "$pkgdir"/usr/share/pixmaps/$pkgname.png
+ install -Dm644 ../$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
+
+ # Install a readme file
+ install -Dm644 README "$pkgdir"/usr/share/doc/$pkgname/README
+}
+
+# vim:set ts=2 sw=2 et: