diff options
author | J. Protopopovs | 2024-01-16 19:27:02 +0200 |
---|---|---|
committer | J. Protopopovs | 2024-01-16 19:28:25 +0200 |
commit | e4851151129420d981d4c038cd3ea8883d522904 (patch) | |
tree | 9255fa91b482c83bfff082767ce810faedcca8e4 | |
download | aur-e4851151129420d981d4c038cd3ea8883d522904.tar.gz |
Kefir 0.3.1 release
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 26 |
3 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0b2ff8e6930b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = kefir + pkgdesc = C17 language compiler for x86_64 systems + pkgver = 0.3.1 + pkgrel = 2 + url = https://kefir.protopopov.lv + arch = x86_64 + license = GPL3 + license = BSD + source = https://git.sr.ht/~jprotopopov/kefir/archive/v0.3.1.tar.gz + sha512sums = 7c9350d7c87ab5589880919489a6233490314cf64a9c20fb251ba3f8fdecbbb6f0851a69c1c5c87cd01f451f1697c4e1c6715c544fbecf719dc98c75f5d2f21f + +pkgname = kefir diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..05c6d4d4c97b --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!.SRCINFO +!PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4780c62e7c06 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Jevgenijs Protopopovs <jevgenij@protopopov.lv> +pkgname='kefir' +pkgver='0.3.1' +pkgrel=1 +pkgdesc='C17 language compiler for x86_64 systems' +arch=('x86_64') +url='https://kefir.protopopov.lv' +license=('GPL3' 'BSD') + +depends=() +makedepends=() +source=("https://git.sr.ht/~jprotopopov/kefir/archive/v$pkgver.tar.gz") +sha512sums=('7c9350d7c87ab5589880919489a6233490314cf64a9c20fb251ba3f8fdecbbb6f0851a69c1c5c87cd01f451f1697c4e1c6715c544fbecf719dc98c75f5d2f21f') + +build () { + cd kefir-v$pkgver + make all PROFILE=release KEFIR_BUILD_SOURCE_ID="32a41489c8090f9d4877ec26f6387485c2deb8f4" +} + +package () { + cd kefir-v$pkgver + make DESTDIR="$pkgdir" prefix="/usr" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" + install -Dm644 source/runtime/LICENSE "$pkgdir/usr/share/licenses/$pkgname/runtime/LICENSE" + install -Dm644 dist/README.license "$pkgdir/usr/share/licenses/$pkgname/README" +} |