summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Capezzuto2019-05-25 16:59:14 +0100
committerLuca Capezzuto2019-05-25 16:59:14 +0100
commit60f820002916fcb8eef513112b5634dfd53f6246 (patch)
tree0fca2da8fed9680ef0f5558142fe5c6f6d3689b7
parenta49184be48e67d41af8f897a4812b4641bf5dee3 (diff)
downloadaur-60f820002916fcb8eef513112b5634dfd53f6246.tar.gz
PKGBUILD updated
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD29
2 files changed, 12 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6866870e07f..612cc4a97be 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,10 @@
pkgbase = awesome-freedesktop-git
pkgdesc = Freedesktop.org menu and desktop icons support for Awesome WM
pkgver = 105.6951b09
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/lcpz/awesome-freedesktop
arch = any
license = GPL2
- makedepends = git
depends = awesome
provides = awesome-freedesktop
conflicts = awesome-freedesktop
diff --git a/PKGBUILD b/PKGBUILD
index af506c65455..93df5bd12fb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,33 +1,26 @@
-# Maintainer: luke bonham <dada [at] archlinux [dot] info>
+# Maintainer: Luca CPZ <luca.cpz [at] gmail [dot] com>
-pkgname=awesome-freedesktop-git
+_pkgname=awesome-freedesktop
+pkgname=$_pkgname-git
pkgcom=105
pkgsha=6951b09
pkgver=$pkgcom.$pkgsha
-pkgrel=1
+pkgrel=2
pkgdesc="Freedesktop.org menu and desktop icons support for Awesome WM"
arch=("any")
-url="https://github.com/lcpz/awesome-freedesktop"
+url="https://github.com/lcpz/$_pkgname"
license=("GPL2")
depends=("awesome")
-makedepends=("git")
-provides=("awesome-freedesktop")
-conflicts=("awesome-freedesktop")
+provides=("$_pkgname")
+conflicts=("$_pkgname")
sha256sums=("SKIP")
-source=("awesome-freedesktop-${pkgver}.zip::https://github.com/lcpz/awesome-freedesktop/archive/$pkgsha.zip")
+source=("$_pkgname-${pkgver}.zip::https://github.com/lcpz/$_pkgname/archive/$pkgsha.zip")
prepare() {
- mv "awesome-freedesktop-$pkgsha"* freedesktop
+ mv "$_pkgname-$pkgsha"* $_pkgname
}
package() {
- # check if awesome is stable or git
- if [ -d "/usr/share/awesome/lib/" ]; then
- aw_path="$pkgdir/usr/share/awesome/lib"
- else
- aw_path="$pkgdir/usr/local/share/awesome/lib"
- fi
-
- install -dm755 "$aw_path/freedesktop"
- cp -a freedesktop $aw_path
+ install -dm755 "$pkgdir/usr/share/lua/5.3/$_pkgname/"
+ install -m644 $_pkgname/{LICENSE,README.rst,*.lua} "$pkgdir/usr/share/lua/5.3/$_pkgname"
}