mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-21 12:26:50 +02:00
31 lines
946 B
Text
31 lines
946 B
Text
# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
|
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
pkgname=ddate
|
|
pkgver=0.2.2
|
|
pkgrel=6
|
|
pkgdesc="Convert Gregorian dates to Discordian dates"
|
|
url="https://github.com/bo0ts/ddate"
|
|
arch="all"
|
|
license="Public-Domain"
|
|
options="!check" # no testsuite
|
|
makedepends="cmake samurai"
|
|
subpackages="$pkgname-doc"
|
|
source="ddate-$pkgver.tar.gz::https://github.com/bo0ts/ddate/archive/v$pkgver.tar.gz
|
|
gcc14.patch
|
|
"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=MinSizeRel \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
5d148e030bee392eb93c5ae519061af0736f2f75eaae916e3efaf927d9f4de8cc72afc4a5121b6fbc0264b73e9f580330a38b97bb78837d447d0b4c1fc29ec06 ddate-0.2.2.tar.gz
|
|
76f2abec53127bda7715cb9ab77dda18b16229dfe56c7998faf25c761f9537ddd8434dae05a17daa3b53d07edf9508389cbda1992e56d295c8688dc32c5804e3 gcc14.patch
|
|
"
|