summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSolomon Choina2018-04-23 15:49:56 -0400
committerSolomon Choina2018-04-23 15:49:56 -0400
commit0b1bd851bd672868aff2f2d7465544e8188ce25c (patch)
tree515497a53a4159a6ef2ba20e8d5f9d4137bf84ae /PKGBUILD
parent19b3627f66c13fed6290243a5713d1310d48daaf (diff)
downloadaur-0b1bd851bd672868aff2f2d7465544e8188ce25c.tar.gz
moved to arch-meson
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 8 insertions, 16 deletions
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