summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorWesley Moore2020-04-08 13:43:05 +1000
committerWesley Moore2020-04-08 13:43:43 +1000
commit114838481ec64c22d87eb665783923e093e58f95 (patch)
tree40d9aca2011c711702f9d6467484102a65c4fda4 /PKGBUILD
parent5a97d8ecf95b5b7aac3988c4f688fcd2e0624f0a (diff)
downloadaur-wool.tar.gz
Rename from asd to wool
The release tarball lacks a Cargo.lock so one is included here.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 16 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b75c0b4cf34..ba3ecc6e340 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,23 @@
# Maintainer: Wesley Moore <wes@wezm.net>
-pkgname=asd
-pkgver=0.1.0
-pkgrel=2
+pkgname=wool
+pkgver=0.1.2
+pkgrel=1
pkgdesc='Preview Github Markdown Offline'
arch=('i686' 'x86_64')
-url="https://github.com/grapegrip/asd"
-license=('MIT')
+url="https://github.com/grapegrip/wool"
+license=('custom:Parity')
depends=()
-conflicts=('asd-git')
+conflicts=('wool-git' 'asd' 'asd-git')
makedepends=('rust' 'cargo')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha256sums=('9257a56c4c22460d2927dcdeb4e4ac16787552c3a213c1e1baf23fd4e270b9e2')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"
+ Cargo.lock)
+sha256sums=('44f7c3de1056ff3263450dac37f9a1c6bbd0ac6b9a2826c9f58fd17d2765cee6'
+ '8a1cee2d0bba13f18f7745f08ca0f4ca4dae29dca5d939c08688158343bbc2dc')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ cp ../Cargo.lock .
+}
build() {
cd "$pkgname-$pkgver"
@@ -19,6 +26,5 @@ build() {
package() {
install -Dm755 "$srcdir/$pkgname-$pkgver/target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
- # License is coming in next release
- # install -Dm644 "$srcdir/$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname"
+ install -Dm644 "$srcdir/$pkgname-$pkgver/PARITY-LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}