diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -2,7 +2,8 @@ # Contributor: Michael Straube <straubem@gmx.de> pkgname=latte-dock-git -pkgver=0.7.1.r16.gbe779e2 +gitname=latte-dock +pkgver=0.7.1.r20.g040f314 pkgrel=1 pkgdesc='Replacement dock for Plasma desktops, providing an elegant and intuitive experience for your tasks and plasmoids- git version' arch=('i686' 'x86_64') @@ -16,7 +17,7 @@ source=("git+"git://anongit.kde.org/latte-dock.git) sha256sums=('SKIP') pkgver() { - cd latte-dock + cd ${gitname} git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } @@ -24,17 +25,17 @@ pkgver() { build() { - cd latte-dock + cd ${gitname} mkdir build && cd build - cmake -DCMAKE_INSTALL_PREFIX=/usr -DKDE_L10N_BRANCH=trunk -DKDE_L10N_AUTO_TRANSLATIONS=ON -DCMAKE_BUILD_TYPE=Release .. - make fetch-translations + cmake -DCMAKE_INSTALL_PREFIX=/usr -DKDE_L10N_BRANCH=trunk -DKDE_L10N_AUTO_TRANSLATIONS=ON -DCMAKE_BUILD_TYPE=Release .. + make fetch-translations } package() { - cd latte-dock/build + cd ${gitname}/build - make DESTDIR="$pkgdir" install + make DESTDIR=${pkgdir} install } |