desktop/bespin-svn/PKGBUILD

40 lines
1.1 KiB
Bash
Raw Normal View History

2014-03-02 09:25:39 +08:00
# Maintainer: Samir Benmendil <ram-z[at]chakra-project[dot]org>
# Contributor: Phil Miller <philm[at]chakra-project[dog]org>
# Contributor: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# Contributor: Benjamin Mtz (cruznick) <cruznick at archlinux dot us>
2011-01-29 23:00:47 +08:00
2014-03-02 09:25:39 +08:00
_pkgname=bespin
2011-01-29 23:00:47 +08:00
pkgname=bespin-svn
2014-03-02 09:25:39 +08:00
pkgver=1716
2011-01-29 23:00:47 +08:00
pkgrel=1
pkgdesc="Qt4/KDE4 style"
arch=(i686 x86_64)
url="http://kde-look.org/content/show.php/Bespin?content=63928"
license=('LGPL')
depends=('qt' 'kdelibs')
2011-11-09 03:26:18 +08:00
optdepends=('kde-workspace')
makedepends=('cmake>=2.4' 'automoc4' 'subversion' 'kde-workspace')
2011-01-29 23:00:47 +08:00
provides=('bespin')
categories=('graphics')
2011-01-29 23:00:47 +08:00
changelog=$pkgbase.changelog
2014-03-02 09:25:39 +08:00
source=("$_pkgname::svn://svn.code.sf.net/p/cloudcity/code/#revision=${pkgver}")
md5sums=('SKIP')
2011-01-29 23:00:47 +08:00
build() {
2014-03-02 09:25:39 +08:00
cd $_pkgname
cmake . \
-DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` \
-DENABLE_ARGB=ON \
-DCMAKE_BUILD_TYPE=Release
make
2011-01-29 23:00:47 +08:00
}
2014-03-02 09:25:39 +08:00
package() {
cd $_pkgname
2011-01-29 23:00:47 +08:00
2014-03-02 09:25:39 +08:00
make DESTDIR=${pkgdir} install
2011-01-29 23:00:47 +08:00
2014-03-02 09:25:39 +08:00
install -Dm644 man/bespin.1 ${pkgdir}/usr/share/man/man1/bespin.1
install -Dm644 extras/bespin-compl ${pkgdir}/etc/bash_completion.d/bespin
2011-01-29 23:00:47 +08:00
}