summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6d0c4aad4d0974881c9c3b8a83b5004de52dc534 (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
32
pkgname=today-todo
pkgver=1.0.0
pkgrel=1
pkgdesc="A command line todo list"
arch=('i686' 'x86_64')
url="https://github.com/heartheart3/today"
license=('BSD')
conflicts=('today')
makedepends=(
  'git'
  'cmake'
  'gcc'
  'boost'
  'boost-libs'
)
source=("today-${pkgver}.tar.gz::https://github.com/heartheart3/today/archive/v${pkgver}.tar.gz")
sha1sums=('690f125d44a30157920bc27a14a3e5fbf8b0ac49')

build() {
  cd "$srcdir/today-$pkgver"
  ls .
  rm -rf build
  mkdir build
  cd build
  cmake -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" ..
  make
}

package() {
  cd "$srcdir/today-$pkgver/build"
  make install
}