summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 13 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9c51a8041c1e..a3cb612c85b8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Manuel Schneider <manuelschneid3r at googles mail>
pkgname=albert
pkgver=0.13.0
-pkgrel=1
+pkgrel=2
pkgdesc="A DE agnostic omnilauncher."
arch=('i686' 'x86_64')
url="https://github.com/albertlauncher/albert"
@@ -10,14 +10,19 @@ depends=('qt5-base' 'libx11' 'qt5-x11extras' 'qt5-svg')
makedepends=('cmake' 'qt5-base' 'qt5-tools' 'virtualbox' 'muparser')
provides=('albert')
conflicts=('albert-git')
-source=(https://github.com/ManuelSchneid3r/albert/archive/v${pkgver}.tar.gz)
+source=( git://github.com/albertlauncher/albert.git )
noextract=()
-md5sums=('8969381bd116120884711908d6cc6f3f')
+md5sums=('SKIP')
# If you want a debug build, change CMAKE_BUILD_TYPE to 'Debug'
#_build_type="Debug"
_build_type="Release"
+prepare() {
+ cd ${pkgname}
+ git submodule update --init --recursive
+}
+
build() {
cat << EOD
@@ -30,15 +35,16 @@ build() {
EOD
- [[ -d "${pkgname}-${pkgver}/build" ]] || mkdir -p "${pkgname}-${pkgver}/build"
- cd "${pkgname}-${pkgver}/build"
+ tree
+ [[ -d "build" ]] || mkdir -p "build"
+ cd "build"
- cmake ".." -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=${_build_type}
+ cmake "../${pkgname}" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=${_build_type}
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}/build"
+ cd "${srcdir}/build"
make DESTDIR="$pkgdir/" install | grep -v '^-- '
}