summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Newgard2015-06-01 01:31:39 -0500
committerDoug Newgard2015-06-01 01:31:39 -0500
commit4fa0a465ecc07094b43432027e8627522f89bfd6 (patch)
tree1daf93a630e411b1af5202b304d899f038745111
parent28e7658a7139547f714e6e146a72ea9dc99ce503 (diff)
downloadaur-4fa0a465ecc07094b43432027e8627522f89bfd6.tar.gz
Simplify
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 5 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9ee3ad87a48..415eebb139d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = sddm-archlinux-theme-git
pkgdesc = Archlinux Theme for SDDM
- pkgver = 0.1.r11.8898d77
+ pkgver = 0.1.r11.g8898d77
pkgrel = 1
url = https://github.com/absturztaube/sddm-archlinux-theme
install = sddm-archlinux-theme.install
diff --git a/PKGBUILD b/PKGBUILD
index 20296979b22..ffb4ed12c31 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgname=sddm-archlinux-theme
pkgname=$_pkgname-git
-pkgver=0.1.r11.8898d77
+pkgver=0.1.r11.g8898d77
pkgrel=1
pkgdesc="Archlinux Theme for SDDM"
arch=('any')
@@ -15,15 +15,13 @@ source=("git://github.com/absturztaube/$_pkgname.git")
sha256sums=('SKIP')
pkgver() {
- cd "$srcdir/$_pkgname"
+ cd $_pkgname
local _ver=$(awk -F '=' '/Version/ {print $2}' archlinux/metadata.desktop)
- printf "$_ver.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+ printf "$_ver.r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
}
package() {
- cd "$srcdir/$_pkgname/archlinux"
-
install -d "$pkgdir/usr/share/sddm/themes/archlinux/"
- install -m644 * "$pkgdir/usr/share/sddm/themes/archlinux/"
+ install -m644 $_pkgname/archlinux/* "$pkgdir/usr/share/sddm/themes/archlinux/"
}