* add dill

This commit is contained in:
Alexander Baldeck 2025-03-13 10:09:20 +01:00
parent c177c72596
commit 7b78ebf951
2 changed files with 42 additions and 7 deletions

View File

@ -1,16 +1,20 @@
pkgbase = dill-git
pkgbase = dill
pkgdesc = DILL provides instruction-level code generation, register allocation and simple optimizations
pkgver = r536.7ad8a9a
pkgrel = 1
pkgver = 2.4.1
pkgrel = 1.1
url = https://github.com/GTkorvo/dill
arch = x86_64
arch = powerpc64le
arch = powerpc64
arch = powerpc
arch = riscv64
license = BSD
makedepends = cmake
makedepends = git
depends = gcc-libs
provides = dill
conflicts = dill
source = git+https://github.com/GTkorvo/dill.git
sha256sums = SKIP
pkgname = dill-git
source = git+https://github.com/GTkorvo/dill.git#tag=v2.4.1
sha256sums = 52e5bbb429a345dde716b19400e9193f5458a71a349e6428e4035ea7255f3892
pkgname = dill

31
dill/PKGBUILD Normal file
View File

@ -0,0 +1,31 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
pkgname=dill
pkgver=2.4.1
pkgrel=1.1
pkgdesc="DILL provides instruction-level code generation, register allocation and simple optimizations"
license=('BSD')
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url="https://github.com/GTkorvo/dill"
depends=('gcc-libs')
makedepends=('cmake' 'git')
provides=('dill')
conflicts=('dill')
source=("git+https://github.com/GTkorvo/dill.git#tag=v${pkgver}")
sha256sums=('52e5bbb429a345dde716b19400e9193f5458a71a349e6428e4035ea7255f3892')
build() {
cd dill
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_INSTALL_RPATH=ON \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF \
.
make
}
package() {
cd dill
make DESTDIR="$pkgdir" install
}