summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrederik2017-05-29 19:03:32 +0200
committerfrederik2017-05-29 19:03:32 +0200
commit9f0b21b4a21546813890608c07c5f5be33185005 (patch)
treeae2f067c16fb64406df49a250b5e7f77fea8a4ee
parentf8e2aed9129e84163771301d528689c35b102fc3 (diff)
downloadaur-9f0b21b4a21546813890608c07c5f5be33185005.tar.gz
make it build
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD41
-rw-r--r--tomighty.sh (renamed from tomighty)0
3 files changed, 31 insertions, 30 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e1e8fad502b..1fab9cbb7e2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,22 +1,22 @@
# Generated by mksrcinfo v8
-# Sun Sep 11 17:39:45 UTC 2016
+# Mon May 29 17:03:06 UTC 2017
pkgbase = tomighty
pkgdesc = Desktop timer for Pomodoro Technique users
- pkgver = 0.7.1
- pkgrel = 4
+ pkgver = 0.7.2
+ pkgrel = 1
url = http://www.tomighty.org/
arch = any
license = Apache
makedepends = imagemagick
- depends = java-runtime
- source = tomighty
+ makedepends = maven
+ source = git://github.com/tomighty/tomighty.git#branch=version-0.7
+ source = tomighty.sh
source = tomighty.desktop
- source = https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/tomighty/tomighty-0.7.1.jar
source = https://github.com/ccidral/tomighty/raw/50d0094c024f1923bd0d6ff1bf77572ae5f5b5f6/img/tomato.ico
- md5sums = 941bdeb609169335cea3e9cf40904883
- md5sums = 66425a9e185788f720b466ca1caf5769
- md5sums = 73094fd45e3683dc0b560642e0543176
- md5sums = f92eb060209cc142b9d6ff644f751b5f
+ sha512sums = SKIP
+ sha512sums = 97e1aa44a6037af9bd4bbbd131dd1a7c6657cbac4875b83f0bfa075bea9164ba642ca0d09c0490401d2c567048391d48deff10c8d215d53de6e36f23909e90b8
+ sha512sums = c88fc159fef66699ffd8adae3dad110b3334729687d4724ca7a16084dddd595b71b25cdce3bd4774696ba14bf6846e7760616deaf665b0e8e086a3d43d273ebb
+ sha512sums = aa2207bc686167931f21a722c0b7bbb644ac97cbb89d53948436dbfcdc05a18b98b42feed60a05abba7c8db12946f6350fb5b7b5514d9680652af0f8050975e4
pkgname = tomighty
diff --git a/PKGBUILD b/PKGBUILD
index a91994de179..fa008fa107c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,31 +1,32 @@
-# Maintainer: Slavi Pantaleev <s.pantaleev at gmail.com>
+# Maintainer: Frederik Schwan <frederik dot schwan at linux dot com>
+# Contributor: Slavi Pantaleev <s.pantaleev at gmail.com>
pkgname=tomighty
-pkgver=0.7.1
-pkgrel=4
+pkgver=0.7.2
+pkgrel=1
pkgdesc='Desktop timer for Pomodoro Technique users'
arch=('any')
-url="http://www.tomighty.org/"
+url='http://www.tomighty.org/'
license=('Apache')
-depends=('java-runtime')
-makedepends=('imagemagick')
-source=('tomighty'
+makedepends=('imagemagick' 'maven')
+source=("git://github.com/tomighty/tomighty.git#branch=version-0.7"
+ 'tomighty.sh'
'tomighty.desktop'
- 'https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/'$pkgname'/'$pkgname'-'$pkgver'.jar'
'https://github.com/ccidral/tomighty/raw/50d0094c024f1923bd0d6ff1bf77572ae5f5b5f6/img/tomato.ico')
-md5sums=('941bdeb609169335cea3e9cf40904883'
- '66425a9e185788f720b466ca1caf5769'
- '73094fd45e3683dc0b560642e0543176'
- 'f92eb060209cc142b9d6ff644f751b5f')
+sha512sums=('SKIP'
+ '97e1aa44a6037af9bd4bbbd131dd1a7c6657cbac4875b83f0bfa075bea9164ba642ca0d09c0490401d2c567048391d48deff10c8d215d53de6e36f23909e90b8'
+ 'c88fc159fef66699ffd8adae3dad110b3334729687d4724ca7a16084dddd595b71b25cdce3bd4774696ba14bf6846e7760616deaf665b0e8e086a3d43d273ebb'
+ 'aa2207bc686167931f21a722c0b7bbb644ac97cbb89d53948436dbfcdc05a18b98b42feed60a05abba7c8db12946f6350fb5b7b5514d9680652af0f8050975e4')
+build() {
+ cd ${srcdir}/${pkgname}
+ mvn clean package
+}
package() {
- # This extracts several different sizes as {tomato}-{number}.png
- # tomato-0.png is the largest and the one we want
- convert $srcdir/tomato.ico $srcdir/tomato.png
- install -Dm 644 $srcdir/tomato-0.png $pkgdir/usr/share/pixmaps/$pkgname.png
-
- install -Dm 644 $srcdir/$pkgname-$pkgver.jar $pkgdir/usr/share/java/$pkgname/$pkgname.jar
- install -Dm 644 $pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
+ convert ${srcdir}/tomato.ico ${srcdir}/tomato.png
+ install -Dm 644 ${srcdir}/tomato-0.png ${pkgdir}/usr/share/pixmaps/${pkgname}.png
- install -Dm 755 $pkgname $pkgdir/usr/bin/$pkgname
+ install -Dm 644 ${srcdir}/${pkgname}/target/${pkgname}-${pkgver}.jar ${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar
+ install -Dm 644 ${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
+ install -Dm 755 ${pkgname}.sh $pkgdir/usr/bin/${pkgname}
}
diff --git a/tomighty b/tomighty.sh
index 740ecf33ce3..740ecf33ce3 100644
--- a/tomighty
+++ b/tomighty.sh