summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjjacky2013-06-03 14:11:40 +0200
committerOlivier Brunel2015-06-08 19:26:10 +0200
commite934eb506f9f0fdbad50695cd63c1400d8bbcdc0 (patch)
treea263b3cbec286476428cdd9aa4782466b057e262
parent55e3caf1bf0cbc9ff4c4cf6c1a982d32f94f4e4e (diff)
downloadaur-e934eb506f9f0fdbad50695cd63c1400d8bbcdc0.tar.gz
xlsh-without-x: move binary to /usr/bin
Signed-off-by: Olivier Brunel <jjk@jjacky.com>
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD19
2 files changed, 13 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cd71a8e6da1..cb8eb436a02 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = xlsh-without-x
pkgdesc = eXtended Login Shell - fast, minimalistic login replacement (without X support)
pkgver = 0.2.2
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/Nadrin/xlsh/wiki
install = xlsh.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 8776a9543ae..70c1ba6c40a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: MichaƂ Siejak <my_fistname@my_lastname.pl>
pkgname=xlsh-without-x
pkgver=0.2.2
-pkgrel=1
+pkgrel=2
pkgdesc="eXtended Login Shell - fast, minimalistic login replacement (without X support)"
arch=('i686' 'x86_64')
url="https://github.com/Nadrin/xlsh/wiki"
@@ -13,15 +13,20 @@ source=(https://github.com/Nadrin/xlsh/tarball/master
patch)
install=xlsh.install
-build() {
- cd "$srcdir"
+prepare() {
+ cd "$srcdir"
+
+ folder=$(ls |grep Nadrin)
+ mv $folder/* .
+ rmdir $folder
- folder=$(ls |grep Nadrin)
- mv $folder/* .
- rmdir $folder
+ patch -p1 -i patch
- patch -p1 -i patch
+ sed -e 's/$(exec_prefix)\/sbin/$(exec_prefix)\/bin/' -i Makefile
+}
+build() {
+ cd "$srcdir"
make
}