summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authormewmew2018-03-24 04:14:16 +0100
committermewmew2018-03-24 04:14:16 +0100
commit8f9cbcd22c76edeec285bc2ffec79440c478581d (patch)
tree9c55cf82241c7f1e3db9bf6c9b93e9a996ba1389 /PKGBUILD
parentb29e2d7c39fe90e6620ea8aeaa2dffce28950948 (diff)
downloadaur-lwt-git.tar.gz
fix build (take 3)
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 4 insertions, 24 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1747a5f1f7b..cfb19a3c542 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,9 +10,8 @@ depends=('gtk3' 'vte3' 'iniparser')
makedepends=('git')
conflicts=('lwt')
install=${pkgname}.install
-
-_gitroot='https://github.com/mewkiz/lwt.git'
-_gitname='lwt'
+source=("git+https://github.com/mewkiz/lwt.git")
+md5sums=('SKIP')
pkgver() {
cd ${srcdir}/${_pkgname}
@@ -20,30 +19,11 @@ pkgver() {
}
build() {
- cd "$srcdir"
- msg "Connecting to GIT server...."
-
- if [[ -d "$_gitname" ]]; then
- cd "$_gitname" && git pull origin
- msg "The local files are updated."
- else
- git clone "$_gitroot" "$_gitname"
- fi
-
- msg "GIT checkout done or server timeout"
- msg "Starting build..."
-
- rm -rf "$srcdir/$_gitname-build"
- git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
- cd "$srcdir/$_gitname-build"
-
- #
- # BUILD HERE
- #
+ cd ${srcdir}/${_pkgname}
make
}
package() {
- cd "$srcdir/$_gitname-build"
+ cd ${srcdir}/${_pkgname}
make DESTDIR="$pkgdir/usr" install
}