summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitris Kiziridis2020-07-27 20:58:28 +0300
committerDimitris Kiziridis2020-07-27 20:58:28 +0300
commitd4403152ce27c44ccb4d9d81515b4801bb5d1a0e (patch)
treec475328ca6279f8b9d9aeda8d218c132c16d5e41
downloadaur-d4403152ce27c44ccb4d9d81515b4801bb5d1a0e.tar.gz
Initial commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD33
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c3552785592
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = condution-bin
+ pkgdesc = A personal project management system that makes sense and will not burn your pockets out
+ pkgver = 0.2.2.beta.1
+ pkgrel = 1
+ url = https://condution.shabang.cf
+ arch = x86_64
+ license = GPL3
+ makedepends = gendesk
+ provides = condution
+ source = condution-0.2.2-beta.1.AppImage::https://github.com/Shabang-Systems/Condution/releases/download/v0.2.2-beta.1/Condution-0.2.2-beta.1.AppImage
+ sha256sums = dcbf050d2a7adface8e571e4e20d67720fa455047b56ad1a39e85a5841eec166
+
+pkgname = condution-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..063def00489
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
+
+pkgname=condution-bin
+pkgver=0.2.2.beta.1
+_pkgver=0.2.2-beta.1
+pkgrel=1
+pkgdesc="A personal project management system that makes sense and will not burn your pockets out"
+arch=('x86_64')
+url='https://condution.shabang.cf'
+license=('GPL3')
+provides=("${pkgname%-bin}")
+makedepends=('gendesk')
+source=("${pkgname%-bin}-${_pkgver}.AppImage::https://github.com/Shabang-Systems/Condution/releases/download/v${_pkgver}/Condution-${_pkgver}.AppImage")
+sha256sums=('dcbf050d2a7adface8e571e4e20d67720fa455047b56ad1a39e85a5841eec166')
+
+package() {
+ chmod 755 ./${pkgname%-bin}-${_pkgver}.AppImage
+ ./${pkgname%-bin}-${_pkgver}.AppImage --appimage-extract
+ install -Dm644 squashfs-root/usr/share/icons/hicolor/0x0/apps/${pkgname%-bin}.png "${pkgdir}/usr/share/pixmaps/condution.png"
+ gendesk -f -n --pkgname "${pkgname%-bin}" \
+ --pkgdesc "$pkgdesc" \
+ --name "Condution" \
+ --comment "$pkgdesc" \
+ --exec "${pkgname%-bin}" \
+ --categories 'Utility;Application' \
+ --icon "${pkgname%-bin}"
+ install -Dm644 "${pkgname%-bin}.desktop" -t "${pkgdir}/usr/share/applications"
+ install -d "${pkgdir}/usr/bin"
+ install -d "${pkgdir}/opt"
+ cp -avR squashfs-root/ "${pkgdir}/opt/${pkgname%-bin}"
+ ln -s /opt/${pkgname%-bin}/AppRun "${pkgdir}/usr/bin/${pkgname%-bin}"
+ find "${pkgdir}/opt/${pkgname%-bin}" -type d -exec chmod 755 {} +
+} \ No newline at end of file