aboutsummaryrefslogtreecommitdiffstats
path: root/main/ddate/APKBUILD
blob: 4cb9dc58ba027128e7f86172181a7376035476f9 (plain) (blame)
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
# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
pkgname=ddate
pkgver=0.2.2
pkgrel=0
pkgdesc="Convert Gregorian dates to Discordian dates"
url="https://github.com/bo0ts/ddate"
arch="all"
license="Public-Domain"
depends=""
depends_dev=""
makedepends="$depends_dev cmake"
install=""
subpackages="$pkgname-doc"
source="ddate-$pkgver.tar.gz::${url}/archive/v${pkgver}.tar.gz"

_builddir="${srcdir}/${pkgname}-${pkgver}"

build() {
	cd "$_builddir"
	mkdir build
	cd build
	cmake .. -DCMAKE_INSTALL_PREFIX=/usr
	make PREFIX="/usr"
}

package() {
	cd "$_builddir/build"
	make DESTDIR="${pkgdir}" install
}

sha512sums="5d148e030bee392eb93c5ae519061af0736f2f75eaae916e3efaf927d9f4de8cc72afc4a5121b6fbc0264b73e9f580330a38b97bb78837d447d0b4c1fc29ec06  ddate-0.2.2.tar.gz"