diff options
author | Simeon David Schaub | 2023-02-12 13:15:49 +0100 |
---|---|---|
committer | Simeon David Schaub | 2023-02-12 13:40:26 +0100 |
commit | 41f0212fe2dd047341b6a15d3f29f6a5ecc6c958 (patch) | |
tree | 851c59e53f23b605a11d6a8c16e5ef4c57738ae2 /PKGBUILD | |
download | aur-ion-jl.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6ddea0ae5758 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Simeon Schaub <simeondavidschaub99@gmail.com> +pkgname=ion-jl +pkgver=0.1.14 +pkgrel=1 +pkgdesc="A CLI toolbox for Julia developers" +arch=('x86_64' 'x86' 'aarch64') +url="https://github.com/Roger-luo/Ion" +license=('MIT') +depends=() +makedepends=('rust') +checkdepends=() +optdepends=() +provides=('ion') +conflicts=() +source=("$url/archive/refs/tags/v$pkgver.tar.gz") +md5sums=('aeb05f4e44bb370c5293e12584cceae9') + +build() { + cd "${srcdir}/Ion-$pkgver" + cargo build --bin ion --release -F bin +} + +package() { + # TODO: ship license file? + # install -Dm644 "${srcdir}/Ion-$pkgver/LICENSE" "${pkgdir}/usr/share/licenses/ion-jl/LICENSE" + install -Dm755 "${srcdir}/Ion-$pkgver/target/release/ion" "${pkgdir}/usr/bin/ion" +} + +# vim: ts=2 sw=2 et: |