summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Newgard2014-09-18 11:41:46 -0500
committerDoug Newgard2014-09-18 11:41:46 -0500
commitfaf91a7e5efc05cd9f382a2a468905d136b75047 (patch)
tree3a35a68c43b12fc369a423d9458550a504b86786
parentf56248960edea27ae50a9d3fbc9faa766eb86871 (diff)
downloadaur-faf91a7e5efc05cd9f382a2a468905d136b75047.tar.gz
Cleanup
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD33
2 files changed, 15 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c913bb2f045..b1f7e79fb15 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -8,9 +8,9 @@ pkgbase = sddm-archlinux-theme-git
arch = x86_64
license = GPL
makedepends = git
- depends = sddm>=0.9.0
- source = sddm-archlinux-theme-git::git+https://github.com/absturztaube/sddm-archlinux-theme.git
- md5sums = SKIP
+ depends = sddm
+ source = git://github.com/absturztaube/sddm-archlinux-theme.git
+ sha256sums = SKIP
pkgname = sddm-archlinux-theme-git
diff --git a/PKGBUILD b/PKGBUILD
index 75638981cf9..78b971835e2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,3 +1,5 @@
+# Maintainer: Doug Newgard <scimmia at archlinux dot info>
+
_pkgname=sddm-archlinux-theme
pkgname=$_pkgname-git
pkgver=r11.8898d77
@@ -7,31 +9,20 @@ license=('GPL')
arch=('i686' 'x86_64')
url="https://github.com/absturztaube/sddm-archlinux-theme"
makedepends=('git')
-depends=('sddm>=0.9.0')
-source=("${pkgname}"::"git+https://github.com/absturztaube/sddm-archlinux-theme.git")
-md5sums=('SKIP')
-install="${_pkgname}.install"
-
-build() {
- cd ${srcdir}/${pkgname}/archlinux
- # Nothing to do
-}
+depends=('sddm')
+install="$_pkgname.install"
+source=("git://github.com/absturztaube/$_pkgname.git")
+sha256sums=('SKIP')
pkgver() {
- cd ${pkgname}
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ cd "$srcdir/$_pkgname"
+
+ printf "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
package() {
- cd ${srcdir}/${pkgname}/archlinux
-
- install -m 644 -D Main.qml ${pkgdir}/usr/share/sddm/themes/archlinux/Main.qml
- install -m 644 -D angle-down.png ${pkgdir}/usr/share/sddm/themes/archlinux/angle-down.png
- install -m 644 -D archlinux.qmlproject ${pkgdir}/usr/share/sddm/themes/archlinux/archlinux.qmlproject
- install -m 644 -D archlinux.qmlproject.user ${pkgdir}/usr/share/sddm/themes/archlinux/archlinux.qmlproject.user
- install -m 644 -D background.jpg ${pkgdir}/usr/share/sddm/themes/archlinux/background.jpg
+ cd "$srcdir/$_pkgname/archlinux"
- install -m 644 -D theme.conf ${pkgdir}/usr/share/sddm/themes/archlinux/theme.conf
- install -m 644 -D screenshot.png ${pkgdir}/usr/share/sddm/themes/archlinux/screenshot.png
- install -m 644 -D metadata.desktop ${pkgdir}/usr/share/sddm/themes/archlinux/metadata.desktop
+ install -d "$pkgdir/usr/share/sddm/themes/archlinux/"
+ install -m644 * "$pkgdir/usr/share/sddm/themes/archlinux/"
}