mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
57 lines
1.2 KiB
Bash
57 lines
1.2 KiB
Bash
plugrel=1
|
|
noautobuild=1
|
|
|
|
# Maintainer: Tobias Hunger <tobias dot hunger at gmx dot de>
|
|
pkgname=kde-plasma-mobile-git
|
|
pkgver=20111216
|
|
pkgrel=1
|
|
pkgdesc="A KDE Plasma shell for touch-screen based devices"
|
|
arch=(i686 x86_64)
|
|
url="http://community.kde.org/Plasma/Active"
|
|
license=('LGPL')
|
|
groups=()
|
|
depends=('kdelibs' 'kdebase-workspace' 'kactivities-git')
|
|
makedepends=('automoc4' 'cmake' 'git' 'libxft')
|
|
optdepends=()
|
|
provides=()
|
|
conflicts=()
|
|
replaces=()
|
|
backup=()
|
|
options=()
|
|
install=
|
|
changelog=
|
|
source=()
|
|
noextract=()
|
|
md5sums=() #generate with 'makepkg -g'
|
|
|
|
_gitroot=git://anongit.kde.org/plasma-mobile
|
|
_gitname=plasma-mobile
|
|
|
|
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 --depth 1 "$_gitroot" "$_gitname"
|
|
fi
|
|
|
|
msg "GIT checkout done or server timeout"
|
|
|
|
msg "Starting build..."
|
|
mkdir "$srcdir/build" > /dev/null 2>&1 || true
|
|
cd "$srcdir/build"
|
|
|
|
cmake "$srcdir/$_gitname" \
|
|
-DCMAKE_BUILD_TYPE=debugfull \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/build"
|
|
make DESTDIR="$pkgdir/" install
|
|
}
|
|
|