summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e0aa854493b8ee18e3a0ad84aaf8325a078e5242 (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: Niels Sonnich Poulsen <niels@nielssp.dk>
pkgname=ctodo
pkgver=1.3
pkgrel=1
pkgdesc="A simple ncurses-based task manager."
url="http://ctodo.apakoh.dk"
arch=('x86_64' 'i686')
license=('MIT')
depends=('ncurses' 'readline')
makedepends=('cmake')
conflicts=()
replaces=()
backup=()
install=
source=("https://github.com/nielssp/${pkgname}/archive/v${pkgver}.tar.gz")
md5sums=('27f97d2ea65f0f48dd054b19ddcdbb6a')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  cmake ./ -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}