diff options
author | Bryan Gilbert | 2017-03-29 12:12:42 -0400 |
---|---|---|
committer | Bryan Gilbert | 2017-03-29 12:15:08 -0400 |
commit | 0d043d112b15ae4f54509b9da4a6771b0679fe9c (patch) | |
tree | 7e3f3f989d93edf0f77ded7472e6b4c56459bb57 | |
download | aur-0d043d112b15ae4f54509b9da4a6771b0679fe9c.tar.gz |
Initial add of drop package
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e7d7e220450e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = drop + pkgdesc = A simple screenshot, screencast, and file upload tool with S3 support + pkgver = 0.1.2 + pkgrel = 1 + url = https://github.com/gilbertw1/drop + arch = i686 + arch = x86_64 + license = GPL + makedepends = cargo + depends = gawk + depends = s3cmd + depends = xsel + depends = slop + depends = imagemagick + depends = ffmpeg + source = https://github.com/gilbertw1/drop/archive/0.1.2.tar.gz + sha256sums = ff3658c4d8b4148490b6dc7a973f43e078de063d5c03f0c54f7b210d985da555 + +pkgname = drop + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..749049664044 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Bryan Gilbert <gilbertw1 at gmail dot com> +pkgname=drop +pkgver=0.1.2 +pkgrel=1 +pkgdesc="A simple screenshot, screencast, and file upload tool with S3 support" +arch=('i686' 'x86_64') +url="https://github.com/gilbertw1/drop" +license=('GPL') +depends=('gawk' 's3cmd' 'xsel' 'slop' 'imagemagick' 'ffmpeg') +makedepends=('cargo') +source=("https://github.com/gilbertw1/$pkgname/archive/$pkgver.tar.gz") +sha256sums=('ff3658c4d8b4148490b6dc7a973f43e078de063d5c03f0c54f7b210d985da555') + +build() { + cd "$pkgname-$pkgver" + cargo build --release +} + +package() { + cd "$pkgname-$pkgver" + + install -Dm755 "target/release/drop" "$pkgdir/usr/bin/drop" + install -Dm644 "README.md" "$pkgdir/usr/share/doc/drop/README.md" + install -Dm644 "license" "$pkgdir/usr/share/doc/ripgrep/license" + install -Dm644 "doc/drop.1" "$pkgdir/usr/share/man/man1/drop.1" +} |