diff options
author | dnrops | 2023-06-12 16:29:16 +0800 |
---|---|---|
committer | dnrops | 2023-06-12 16:29:16 +0800 |
commit | e15a232311abe79f578dc8853f279b7a67d58408 (patch) | |
tree | 1b4c2d475740663fc47dcc43b4e7c5447b3de3eb | |
download | aur-e15a232311abe79f578dc8853f279b7a67d58408.tar.gz |
aur cli
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 32 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5403ae85f2cc --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = aur_cli + pkgdesc = Prepare Rust projects to be released on the Arch Linux User Repository. + pkgver = 0.1.0 + pkgrel = 1 + url = https://dnrops.gitee.io + arch = x86_64 + license = MIT + provides = aur_cli + conflicts = aur_cli + source = https://gitlab.com/andrew_ryan/aur_cli.git/-/raw/master/aur_cli-0.1.0-x86_64.tar.gz + sha256sums = c241c6b315729a14ab0204fce90e731f1c5fc773e0d2a02dfd0147a1d1f7a273 + +pkgname = aur_cli diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..21f176da90c4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,19 @@ +# Maintainer: Andrew Ryan <dnrops@outlook.com> +# + +pkgname=aur_cli +pkgver=0.1.0 +pkgrel=1 +pkgdesc="Prepare Rust projects to be released on the Arch Linux User Repository." +url="https://dnrops.gitee.io" +license=("MIT") +arch=("x86_64") +provides=("aur_cli") +conflicts=("aur_cli") +source=("https://gitlab.com/andrew_ryan/aur_cli/-/raw/master/aur_cli-$pkgver-x86_64.tar.gz") +sha256sums=("c241c6b315729a14ab0204fce90e731f1c5fc773e0d2a02dfd0147a1d1f7a273") + +package() { + install -Dm755 aur_cli -t "$pkgdir/usr/bin" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |