summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fdb8eaa5906228d1f6436e4f6b3c45e6e7cf1f4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Tobias Borgert <tobias.borgert@gmail.com>

pkgname=ecal-shecal
pkgver=0.2.1
pkgrel=1
pkgdesc="shell for eCAL"
arch=('x86_64')
url="https://github.com/Blutkoete/shecal"
license=('BSD')
depends=('ecal')
makedepends=('boost' 'cmake')
optdepends=()
source=(https://github.com/Blutkoete/shecal/archive/v$pkgver.tar.gz)
sha256sums=('0ae551e7fcc9c7b86d33143fa92436e68040dbcaf4459eb4f8ce4f37b91ccfab')

build() {
	cd shecal-$pkgver
	mkdir -p build
	cd build
	cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
		 -DCMAKE_BUILD_TYPE=Release
	make
}

package() {
	cd shecal-$pkgver
	cd build
	DESTDIR="$pkgdir" make install
	mkdir -p $pkgdir/usr/share/licenses/shecal
	cp $srcdir/shecal-$pkgver/LICENSE $pkgdir/usr/share/licenses/shecal/LICENSE
}