summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Malandrino2018-11-23 13:01:46 +0100
committerLucas Malandrino2018-11-23 13:01:46 +0100
commit61c02259cd7e1cc6b28756e56df19b52c1f3fff9 (patch)
tree9bc5b86298ac9fc735966f8eaf44ce796973dde4
parente8512d09cf48d1eaa311afebc68f67674e228ba7 (diff)
downloadaur-61c02259cd7e1cc6b28756e56df19b52c1f3fff9.tar.gz
Fixed broken symlink, added gitignore
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD7
-rw-r--r--edex-ui.install7
3 files changed, 13 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..017256b4a1d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*.tar.xz
+edex-ui/
+pkg/
+src/
diff --git a/PKGBUILD b/PKGBUILD
index 786f798bdec..f9efb51de16 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Lucas Malandrino <lucas.malandrino@gmail.com>
pkgname='edex-ui-git'
_pkgname='edex-ui'
-pkgver=1.0.1.r24.g3fff3c5
+pkgver=1.0.1.r32.g7c3f3ef
pkgrel=1
pkgdesc="A science fiction desktop running everywhere. Awesome."
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
@@ -11,6 +11,7 @@ depends=('c-ares' 'ffmpeg' 'gtk3' 'http-parser' 'libevent' 'libvpx' 'libxslt' 'l
makedepends=('npm' 'git')
conflicts=('edex-ui')
provides=('edex-ui')
+install="edex-ui.install"
source=("git+https://github.com/GitSquared/edex-ui.git#branch=master")
sha256sums=('SKIP')
@@ -43,8 +44,4 @@ package() {
rm -f "${pkgdir}/.INSTALL" "${pkgdir}/.MTREE" "${pkgdir}/.PKGINFO"
chmod 755 "${pkgdir}/opt/eDEX-UI/edex-ui"
-
- # Symlink the executable
- mkdir -p "${pkgdir}/usr/local/bin"
- ln -s "${pkgdir}/opt/eDEX-UI/edex-ui" "${pkgdir}/usr/local/bin/edex-ui"
}
diff --git a/edex-ui.install b/edex-ui.install
new file mode 100644
index 00000000000..131b639f264
--- /dev/null
+++ b/edex-ui.install
@@ -0,0 +1,7 @@
+post_install() {
+ ln -sf /opt/eDEX-UI/edex-ui /usr/local/bin/edex-ui
+}
+
+post_remove() {
+ rm -f /usr/local/bin/edex-ui
+}