archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / cmake-fedora / trunk / PKGBUILD
blob461c1b0b05cb83ba263cc605905ad24719dc6f65
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=cmake-fedora
4 pkgver=2.9.3
5 pkgrel=7
6 pkgdesc='CMake helper modules for fedora developers'
7 arch=('any')
8 license=('custom:BSD')
9 url='https://pagure.io/cmake-fedora'
10 depends=('cmake')
11 makedepends=('git')
12 source=("git+https://pagure.io/cmake-fedora.git#tag=$pkgver")
13 sha512sums=('SKIP')
15 build() {
16   cd cmake-fedora
17   cmake . -DCMAKE_INSTALL_PREFIX=/usr
18   make
21 package() {
22   cd cmake-fedora
23   make DESTDIR="$pkgdir" install
25   install -d -m755 "$pkgdir"/usr/share/licenses/cmake-fedora
26   ln -s ../../doc/cmake-fedora/COPYING "$pkgdir"/usr/share/licenses/cmake-fedora/COPYING