summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFrederik “Freso” S. Olesen2019-04-25 15:17:44 +0200
committerFrederik “Freso” S. Olesen2019-04-25 15:17:44 +0200
commit191347c0ba6894845ae41c31d352261e17f8c0e4 (patch)
tree26ad0f9c6cfda3bd860042581ed4b4553f481d09 /PKGBUILD
downloadaur-191347c0ba6894845ae41c31d352261e17f8c0e4.tar.gz
Initial linuxed-git PKGBUILD
Doesn’t currently actually work when installed due to https://github.com/Cr3atable/LinuxED/issues/2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..21e2678106bb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Frederik “Freso” S. Olesen <freso.dk@gmail.com>
+_pkgname=linuxed
+pkgname=${_pkgname}-git
+pkgver=0.r81.af0524f
+pkgrel=1
+pkgdesc='Installer for EnhancedDiscord'
+arch=('any')
+url='https://github.com/Cr3atable/LinuxED'
+license=('MIT')
+depends=('python')
+optdepends=('discord: Discord itself')
+makedepends=('git')
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+source=("git+$url.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd 'LinuxED'
+ printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd 'LinuxED'
+ install -Dm755 LinuxED.py "${pkgdir}/usr/bin/LinuxED.py"
+ install -Dm644 README.md "${pkgdir}/usr/share/doc/${_pkgname}/README.md"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
+}