desktop/tools-pkg-apperurl/PKGBUILD

36 lines
931 B
Bash
Raw Normal View History

2013-12-18 02:36:04 +08:00
2012-03-08 00:59:49 +08:00
# Chakra Packages for Chakra, part of chakra-project.org
2013-12-18 02:36:04 +08:00
2013-12-18 02:41:12 +08:00
# Maintainer (i686): Phil Miller <philm@chakra-project[dog]org>
# Maintainer (x86_64): Manuel Tortosa <manutortosa@chakra-project@org>
2012-03-08 00:59:49 +08:00
2013-12-18 02:36:04 +08:00
# Include global configuration
2012-03-08 00:59:49 +08:00
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=apperurl
pkgver=0.1
pkgrel=1
pkgdesc="Install packages using the apper protocol"
arch=('i686' 'x86_64')
url="https://gitorious.org/gcala/apperurl"
license=('GPL')
depends=('kde-runtime' 'apper')
makedepends=('git' 'cmake' 'automoc4' 'kdelibs')
source=("https://gitorious.org/gcala/$pkgname/archive-tarball/v${pkgver}")
md5sums=('2aaf0de3fabcc2f7086f717fcea69067')
build() {
cd "$srcdir/gcala-$pkgname"
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd "$srcdir/gcala-$pkgname/build"
msg "Installing library..."
make DESTDIR="$pkgdir" install
}