summaryrefslogtreecommitdiff
path: root/ddate/PKGBUILD
blob: c11a3e485f04bed6df1c18dd3164324027b2a938 (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
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Arvedui <arvedui@posteo.de>
# Contributer: Philipp Moeller <bootsarehax@gmail.com>

pkgname=ddate
pkgver=0.2.2
pkgrel=1
pkgdesc="Perpetual date converter from gregorian to poee calendar"
arch=('x86_64' 'i686')
url="https://github.com/bo0ts/ddate"
license=('GPL')
depends=('glibc')
makedepends=('cmake')
source=($pkgname-$pkgver.tar.gz::https://github.com/bo0ts/ddate/archive/v${pkgver}.tar.gz)

sha512sums=('5d148e030bee392eb93c5ae519061af0736f2f75eaae916e3efaf927d9f4de8cc72afc4a5121b6fbc0264b73e9f580330a38b97bb78837d447d0b4c1fc29ec06')

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

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