summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDoug Newgard2014-02-06 14:25:09 -0600
committerDoug Newgard2014-02-06 14:25:09 -0600
commit16ff5a21fba37e949006fc17b4713f61f5b8f0ca (patch)
tree57a5185050adfe1ea8562702d38b72f1e968ca5e /PKGBUILD
parent38988647ab9329e258da2789fa5e18a71cf27e74 (diff)
downloadaur-16ff5a21fba37e949006fc17b4713f61f5b8f0ca.tar.gz
Use upstream service file
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 5 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 153c6c4271f..238a310f2b2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
_pkgname=entrance
pkgname=$_pkgname-git
-pkgver=0.0.99.r73.9f1e051
+pkgver=0.0.99.r87.a20597a
pkgrel=1
pkgdesc="Enlightenment Display Manager"
url="http://www.enlightenment.org/"
@@ -17,10 +17,8 @@ makedepends=('git')
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
backup=('etc/entrance.conf')
-source=("git://git.enlightenment.org/misc/$_pkgname.git"
- 'entrance.service')
-sha256sums=('SKIP'
- '187e721108e342bf0442cdaf2a3e4b836b17c3c756b691d1ee3f02e6abcb0ecb')
+source=("git://git.enlightenment.org/misc/$_pkgname.git")
+sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
@@ -36,6 +34,8 @@ prepare() {
-e '/"reboot"/ s|/sbin/shutdown -r now|/usr/bin/systemctl reboot|' \
-e '/"suspend"/ s|/usr/sbin/pm-suspend|/usr/bin/systemctl suspend|' \
-i "$srcdir/$_pkgname/data/entrance.conf"
+
+ sed -i 's|sbin/entrance|bin/entrance|' "$srcdir/$_pkgname/data/entrance.service.in"
}
build() {
@@ -61,9 +61,6 @@ package() {
# install correct PAM file
install -Dm644 "data/entrance.other" "$pkgdir/etc/pam.d/entrance"
-# install systemd files
- install -Dm644 "$srcdir/entrance.service" "$pkgdir/usr/lib/systemd/system/entrance.service"
-
# install text files
install -Dm644 AUTHORS "$pkgdir/usr/share/doc/$_pkgname/AUTHORS"
install -Dm644 ChangeLog "$pkgdir/usr/share/doc/$_pkgname/ChangeLog"