summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Choina2018-04-23 15:49:56 -0400
committerSolomon Choina2018-04-23 15:49:56 -0400
commit0b1bd851bd672868aff2f2d7465544e8188ce25c (patch)
tree515497a53a4159a6ef2ba20e8d5f9d4137bf84ae
parent19b3627f66c13fed6290243a5713d1310d48daaf (diff)
downloadaur-0b1bd851bd672868aff2f2d7465544e8188ce25c.tar.gz
moved to arch-meson
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD24
2 files changed, 9 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 52ce7122f98..7c9dcdea4cd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = entrance-git
pkgdesc = Enlightenment Display Manager
pkgver = 3.0.0_alpha2.r262.g0375e54
- pkgrel = 1
+ pkgrel = 2
url = http://www.enlightenment.org/
arch = i686
arch = x86_64
@@ -10,7 +10,6 @@ pkgbase = entrance-git
depends = efl
depends = xorg-xauth
depends = sudo
- optdepends = ekbd-git: For virtual keyboard
provides = entrance=3.0.0_alpha2.r262.g0375e54
conflicts = entrance
backup = etc/entrance/entrance.conf
diff --git a/PKGBUILD b/PKGBUILD
index 43fac1618bb..36e35dbdc2e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,13 +6,12 @@
_pkgname=entrance
pkgname=$_pkgname-git
pkgver=3.0.0_alpha2.r262.g0375e54
-pkgrel=1
+pkgrel=2
pkgdesc="Enlightenment Display Manager"
url="http://www.enlightenment.org/"
license=('GPL3')
arch=('i686' 'x86_64')
depends=('efl' 'xorg-xauth' 'sudo')
-optdepends=('ekbd-git: For virtual keyboard')
makedepends=('git')
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
@@ -31,29 +30,22 @@ prepare() {
-e '/"reboot"/ s|:.*|: "/usr/bin/systemctl reboot";|' \
-e '/"suspend"/ s|:.*|: "/usr/bin/systemctl suspend";|' \
-i "$srcdir/$_pkgname/data/entrance.conf.in"
- rm -rf build
- mkdir "$srcdir/build"
}
build() {
- cd "$srcdir/build"
-
- meson ../$_pkgname \
- --prefix="/usr" \
- --sbindir="/usr/bin" \
- --bindir="/usr/bin" \
- --datadir="/usr/share" \
- --sysconfdir="/etc" \
+ cd "$_pkgname"
+
+ arch-meson build \
-Dconsolekit=false \
-Dlogind=true
- ninja
+ ninja -C build
}
package() {
- cd "$srcdir/build"
+ cd "$_pkgname"
+
+ DESTDIR="$pkgdir" ninja -C build install
- DESTDIR="$pkgdir" ninja install
-cd "$srcdir/$_pkgname"
# install text files
install -d "$pkgdir/usr/share/doc/$_pkgname/"
install -Dm644 -t "$pkgdir/usr/share/doc/$_pkgname/" AUTHORS ChangeLog README