projects/aports·blob master · refs

31 lines · 949 B

1# Contributor: Johannes Matheis <[email protected]>
2# Maintainer: Patrycja Rosa <[email protected]>
3pkgname=ddate
4pkgver=0.2.2
5pkgrel=6
6pkgdesc="Convert Gregorian dates to Discordian dates"
7url="https://github.com/bo0ts/ddate"
8arch="all"
9license="Public-Domain"
10options="!check" # no testsuite
11makedepends="cmake samurai"
12subpackages="$pkgname-doc"
13source="ddate-$pkgver.tar.gz::https://github.com/bo0ts/ddate/archive/v$pkgver.tar.gz
14 gcc14.patch
15 "
16
17build() {
18 cmake3.5 -B build -G Ninja \
19 -DCMAKE_BUILD_TYPE=MinSizeRel \
20 -DCMAKE_INSTALL_PREFIX=/usr
21 cmake --build build
22}
23
24package() {
25 DESTDIR="$pkgdir" cmake --install build
26}
27
28sha512sums="
295d148e030bee392eb93c5ae519061af0736f2f75eaae916e3efaf927d9f4de8cc72afc4a5121b6fbc0264b73e9f580330a38b97bb78837d447d0b4c1fc29ec06 ddate-0.2.2.tar.gz
3076f2abec53127bda7715cb9ab77dda18b16229dfe56c7998faf25c761f9537ddd8434dae05a17daa3b53d07edf9508389cbda1992e56d295c8688dc32c5804e3 gcc14.patch
31"