summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcopycat-killer2017-01-25 19:56:49 +0100
committercopycat-killer2017-01-25 19:56:49 +0100
commita2be11c762b17ef76d8a85a40eb35f418c08eed6 (patch)
treebb896c5c46e047af70ec2a16bf0384c734e79dad
parentb66151cbbea065eadf035cd6f344dfee454851e4 (diff)
downloadaur-a2be11c762b17ef76d8a85a40eb35f418c08eed6.tar.gz
Merge pull request #2 from zhrts/mastersmall typo here
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD12
2 files changed, 8 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c5729147381..109f83cabd0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sun Jan 22 17:03:53 UTC 2017
+# Wed Jan 25 18:56:49 UTC 2017
pkgbase = awesome-freedesktop-git
pkgdesc = Freedesktop.org menu and desktop icons support for Awesome WM
- pkgver = 87.27da971
- pkgrel = 2
+ pkgver = 89.f9e7629
+ pkgrel = 1
url = https://github.com/copycat-killer/awesome-freedesktop
arch = any
license = GPL2
diff --git a/PKGBUILD b/PKGBUILD
index b6024e5ad8d..f07e2a18f11 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,10 @@
# Maintainer: luke bonham <dada [at] archlinux [dot] info>
pkgname=awesome-freedesktop-git
-pkgver=87.27da971
-pkgrel=2
+pkgcom=89
+pkgsha=f9e7629
+pkgver=$pkgcom.$pkgsha
+pkgrel=1
pkgdesc="Freedesktop.org menu and desktop icons support for Awesome WM"
arch=('any')
url="https://github.com/copycat-killer/awesome-freedesktop"
@@ -14,14 +16,10 @@ conflicts=('awesome-freedesktop')
source=("git://github.com/copycat-killer/awesome-freedesktop.git")
md5sums=('SKIP')
-pkgver() {
- cd awesome-freedesktop
- printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
-}
-
package() {
mv awesome-freedesktop freedesktop
install -dm755 "$pkgdir/usr/share/awesome/lib/freedesktop"
+ git --git-dir=freedesktop/.git --work-tree=freedesktop/ reset --hard $pkgsha --quiet
rm -rf freedesktop/{wiki,.git*,*.rockspec,*TEMPLATE*,*.png}
cp -a freedesktop "$pkgdir/usr/share/awesome/lib/"
}