diff options
author | Aloxaf | 2020-07-06 12:06:54 +0800 |
---|---|---|
committer | Aloxaf | 2020-07-06 12:06:54 +0800 |
commit | e9e810e90331e4f5f8a8091d1286481e285210d6 (patch) | |
tree | 25e7b6473a2f636c2329d74fcce5ed48d6a4de75 | |
download | aur-e9e810e90331e4f5f8a8091d1286481e285210d6.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d396f0cc879c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = lumins + pkgdesc = A fast and reliable alternative to rsync for synchronizing local files written in Rust + pkgver = 0.4.0 + pkgrel = 1 + url = https://github.com/wchang22/lumins + arch = i686 + arch = x86_64 + license = MIT + makedepends = rust + source = lumins-0.4.0::https://github.com/wchang22/LuminS/archive/v0.4.0.tar.gz + md5sums = 0a272fd6133ed9abcdcf774fc3203c67 + sha256sums = e5423b62f7ba525a961b4e92fd9d2afe6fb791adb383854783807c7d34c84ffb + +pkgname = lumins + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..235dd6b93084 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Aloxaf <aloxafx@gmail.com> +pkgname=lumins +_pkgname=LuminS +pkgver=0.4.0 +pkgrel=1 +pkgdesc="A fast and reliable alternative to rsync for synchronizing local files written in Rust " +arch=('i686' 'x86_64') +url="https://github.com/wchang22/lumins" +license=('MIT') +makedepends=('rust') +source=("${pkgname}-${pkgver}::https://github.com/wchang22/LuminS/archive/v${pkgver}.tar.gz") +md5sums=('0a272fd6133ed9abcdcf774fc3203c67') +sha256sums=('e5423b62f7ba525a961b4e92fd9d2afe6fb791adb383854783807c7d34c84ffb') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + cargo build --release --locked --target-dir=./target +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + install -Dm 755 ./target/release/lms "${pkgdir}/usr/bin/lms" + install -Dm 644 ./LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + |