summaryrefslogtreecommitdiff
path: root/community/pcurses/PKGBUILD
blob: 938b469449d7c6f6d75a66e7e37d27da10e5f98d (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
# Maintainer: schuay <jakob.gruber@gmail.com>

pkgname=pcurses
pkgver=4
pkgrel=1
pkgdesc='A curses package management tool using libalpm'
arch=('x86_64' 'i686')
url="https://github.com/schuay/$pkgname"
license=('GPL')
depends=('ncurses' 'pacman>=4.1.2')
makedepends=('boost' 'cmake' 'git')
source=("git://github.com/schuay/pcurses.git#tag=pcurses-$pkgver")
md5sums=('SKIP')

build() {
  rm -rf "$srcdir/$pkgname-build"
  mkdir "$srcdir/$pkgname-build"
  cd "$srcdir/$pkgname-build"

  cmake -DCMAKE_INSTALL_PREFIX=/usr "$srcdir/$pkgname"
  make
}

package() {
  cd "$srcdir/$pkgname-build"
  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et: