summaryrefslogtreecommitdiff
path: root/community/pcurses/PKGBUILD
blob: 1cc5e182714d6096df8372b2022a0ddabc4af0d2 (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=3
pkgrel=2
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: