diff options
author | Wesley Moore | 2020-04-05 14:11:01 +1000 |
---|---|---|
committer | Wesley Moore | 2020-04-05 14:11:01 +1000 |
commit | c166c3ebc3d86f86a0a549ecb719761024a279d9 (patch) | |
tree | d9035714a8ef87e06574be93888e1cb445993b34 | |
download | aur-c166c3ebc3d86f86a0a549ecb719761024a279d9.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..658b6e0e256a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = linky + pkgdesc = Extract and check links from Markdown files + pkgver = 0.1.8 + pkgrel = 1 + url = https://github.com/mattias-p/linky + arch = i686 + arch = x86_64 + license = Apache + makedepends = cargo + conflicts = linky-git + source = linky-0.1.8.tar.gz::https://github.com/mattias-p/linky/archive/0.1.8.tar.gz + sha256sums = e8cc01d93abf3a8a5365660ef4e246494a1cc44f6ec3955a2c4f60c7810bfdeb + +pkgname = linky + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f7badf1fe5bd --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Wesley Moore <wes@wezm.net> +pkgname=linky +pkgver=0.1.8 +pkgrel=1 +pkgdesc='Extract and check links from Markdown files' +arch=('i686' 'x86_64') +url="https://github.com/mattias-p/linky" +license=('Apache') +depends=() +conflicts=('linky-git') +makedepends=('cargo') +source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") +sha256sums=('e8cc01d93abf3a8a5365660ef4e246494a1cc44f6ec3955a2c4f60c7810bfdeb') + +build() { + cd "$pkgname-$pkgver" + cargo build --release --locked +} + +package() { + install -Dm755 "$srcdir/$pkgname-$pkgver/target/release/$pkgname" "$pkgdir/usr/bin/$pkgname" + install -Dm644 "$srcdir/$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |