summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Zamanian2020-01-04 21:59:57 +0100
committerVictor Zamanian2020-01-15 23:05:27 +0100
commit1cd2e3e1f424b4840f5a5afd00f05d97a2ff4a0c (patch)
tree6132a8d2ce8424d55063fcb255354f74bea1b369
downloadaur-1cd2e3e1f424b4840f5a5afd00f05d97a2ff4a0c.tar.gz
Initial commit; v0.6.2.
Also ninja add .SRCINFO file from the future.
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD33
-rw-r--r--pomotroid.desktop12
3 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..44966035a35
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = pomotroid-bin
+ pkgdesc = Simple and visually-pleasing Pomodoro timer
+ pkgver = 0.6.2
+ pkgrel = 1
+ url = https://github.com/Splode/pomotroid
+ arch = x86_64
+ license = MIT
+ depends = zlib
+ depends = hicolor-icon-theme
+ noextract = pomotroid-bin-0.6.2.AppImage
+ options = !strip
+ source_x86_64 = pomotroid-bin-0.6.2.AppImage::https://github.com/Splode/pomotroid/releases/download/v0.6.2/pomotroid-0.6.2-x86_64.AppImage
+ source_x86_64 = https://raw.githubusercontent.com/Splode/pomotroid/master/LICENSE
+ md5sums_x86_64 = eb5320db172dcc6f8fd4038fbf0089b7
+ md5sums_x86_64 = 98368ac76439a0812a58d0a586b28ed1
+
+pkgname = pomotroid-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..abd76560b2e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Victor Zamanian <victor.zamanian@gmail.com>
+
+pkgname=pomotroid
+pkgver=0.6.2
+pkgrel=1
+pkgdesc="Simple and visually-pleasing Pomodoro timer"
+arch=('x86_64')
+url="https://github.com/Splode/pomotroid"
+license=('MIT')
+depends=('zlib')
+options=(!strip)
+source_x86_64=("${pkgname}-${pkgver}.AppImage::${url}/releases/download/v${pkgver}/pomotroid-${pkgver}-${arch}.AppImage"
+ "https://raw.githubusercontent.com/Splode/pomotroid/master/LICENSE"
+ "pomotroid.desktop"
+ )
+noextract=("${pkgname}-${pkgver}.AppImage")
+md5sums_x86_64=('eb5320db172dcc6f8fd4038fbf0089b7'
+ '98368ac76439a0812a58d0a586b28ed1'
+ 'fc957aa0ee7730a4773a63da2baeabad')
+
+package() {
+ install -Dm755 "${srcdir}/${pkgname}-${pkgver}.AppImage" "${pkgdir}/opt/${pkgname}/${pkgname}.AppImage"
+ install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/opt/${pkgname}/LICENSE"
+ install -Dm644 "${srcdir}/pomotroid.desktop" "${pkgdir}/usr/share/applications/pomotroid.desktop"
+
+ # Symlink executable
+ mkdir -p "${pkgdir}/usr/bin"
+ ln -s "/opt/${pkgname}/${pkgname}.AppImage" "${pkgdir}/usr/bin/${pkgname}"
+
+ # Symlink license
+ mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
+ ln -s "/opt/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}"
+}
diff --git a/pomotroid.desktop b/pomotroid.desktop
new file mode 100644
index 00000000000..9b98b058de2
--- /dev/null
+++ b/pomotroid.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Name=Pomotroid
+Comment=A simple and visually-pleasing Pomodoro timer
+Exec="/usr/bin/pomotroid" %U
+Terminal=false
+Type=Application
+Icon=appimagekit-pomotroid
+StartupWMClass=Pomotroid
+X-AppImage-Version=0.6.2.113
+Categories=Utility;
+X-AppImage-BuildId=1QFUqtnmokAPXofbfVBtiqg5gLz
+TryExec=/usr/bin/pomotroid