summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Capezzuto2019-05-23 17:56:19 +0100
committerLuca Capezzuto2019-05-23 17:56:19 +0100
commita49184be48e67d41af8f897a4812b4641bf5dee3 (patch)
treebe144503bc8dd6de6ff66715d3c5477f6665ad78
parent0f4e10ff44ed1db22901fdc231a544ddcdcc1ea4 (diff)
downloadaur-a49184be48e67d41af8f897a4812b4641bf5dee3.tar.gz
PKGBUILD updated
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD23
2 files changed, 14 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index faed1b3220c..6866870e07f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -9,8 +9,8 @@ pkgbase = awesome-freedesktop-git
depends = awesome
provides = awesome-freedesktop
conflicts = awesome-freedesktop
- source = git://github.com/copycat-killer/awesome-freedesktop.git
- md5sums = SKIP
+ source = awesome-freedesktop-105.6951b09.zip::https://github.com/lcpz/awesome-freedesktop/archive/6951b09.zip
+ sha256sums = SKIP
pkgname = awesome-freedesktop-git
diff --git a/PKGBUILD b/PKGBUILD
index ebea71c8c2a..af506c65455 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,15 +6,19 @@ pkgsha=6951b09
pkgver=$pkgcom.$pkgsha
pkgrel=1
pkgdesc="Freedesktop.org menu and desktop icons support for Awesome WM"
-arch=('any')
+arch=("any")
url="https://github.com/lcpz/awesome-freedesktop"
-license=('GPL2')
-depends=('awesome')
-makedepends=('git')
-provides=('awesome-freedesktop')
-conflicts=('awesome-freedesktop')
-source=("git://github.com/copycat-killer/awesome-freedesktop.git")
-md5sums=('SKIP')
+license=("GPL2")
+depends=("awesome")
+makedepends=("git")
+provides=("awesome-freedesktop")
+conflicts=("awesome-freedesktop")
+sha256sums=("SKIP")
+source=("awesome-freedesktop-${pkgver}.zip::https://github.com/lcpz/awesome-freedesktop/archive/$pkgsha.zip")
+
+prepare() {
+ mv "awesome-freedesktop-$pkgsha"* freedesktop
+}
package() {
# check if awesome is stable or git
@@ -24,9 +28,6 @@ package() {
aw_path="$pkgdir/usr/local/share/awesome/lib"
fi
- mv awesome-freedesktop freedesktop
install -dm755 "$aw_path/freedesktop"
- git --git-dir=freedesktop/.git --work-tree=freedesktop/ reset --hard $pkgsha --quiet
- rm -rf freedesktop/{wiki,.git*,*.rockspec,*TEMPLATE*,*.png}
cp -a freedesktop $aw_path
}