desktop/kio-gopher/PKGBUILD

34 lines
710 B
Bash
Raw Normal View History

2013-05-28 06:14:17 +08:00
pkgname=kio-gopher
pkgver=0.1.99
2013-05-28 06:14:17 +08:00
pkgrel=1
pkgdesc="A Kioslave for the Gopher protocol"
arch=('x86_64')
url="https://userbase.kde.org/Kio_gopher"
2013-05-28 06:14:17 +08:00
license=('GPL')
depends=('plasma-framework')
makedepends=('cmake' 'extra-cmake-modules' 'kdoctools')
2013-05-28 06:14:17 +08:00
options=('docs')
replaces=('kio_gopher')
provides=('kio_gopher')
conflicts=('kio_gopher')
source=("https://download.kde.org/unstable/kio-gopher/${pkgname}-${pkgver}.tar.xz")
md5sums=('fb0afc1e3430158962c4d843bae385f5')
2013-05-28 06:14:17 +08:00
prepare() {
cd $srcdir
mkdir -p build
}
2013-05-28 06:14:17 +08:00
build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd build
2013-05-28 06:14:17 +08:00
make DESTDIR=$pkgdir install
}