diff options
author | Alec Mev | 2021-04-02 11:20:52 +0100 |
---|---|---|
committer | Alec Mev | 2021-04-02 11:20:52 +0100 |
commit | 0d30b98a28bbceccdb973e2bb6ca941938a09005 (patch) | |
tree | 1ac00c5b2e4196e057277d2fe26e43cca3041c9f | |
parent | a1924e335012d4d150e0edd55974d0db241d384c (diff) | |
download | aur-0d30b98a28bbceccdb973e2bb6ca941938a09005.tar.gz |
3.2, add wl-clipboard
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 32 |
3 files changed, 32 insertions, 20 deletions
@@ -1,15 +1,17 @@ pkgbase = imgurbash2 - pkgdesc = A small shell script that uploads/deletes images to/from imgur.com - pkgver = 3.1 - pkgrel = 5 + pkgdesc = A shell script that uploads/deletes images to/from IMGUR + pkgver = 3.2 + pkgrel = 1 url = https://github.com/ram-on/imgurbash2 arch = any license = MIT + depends = bash depends = curl - optdepends = xsel: automatically putting the URL on the X selection for easy pasting - optdepends = xclip: an alternative to xsel - source = https://github.com/ram-on/imgurbash2/archive/3.1.tar.gz - sha256sums = e66e27b96d303a7896d2b4c8abc4dca4974193eebb3851e4ee0b88076b703809 + optdepends = wl-clipboard: To be able to copy image URL to clipboard in Wayland + optdepends = xclip: To be able to copy image URL to clipboard in X + optdepends = xsel: To be able to copy image URL to clipboard in X + source = imgurbash2-3.2.tar.gz::https://github.com/ram-on/imgurbash2/archive/3.2.tar.gz + sha256sums = a17ef6c96399550293ee806bae4665e4353c3280df4d3ebe041cf589fe6bc259 pkgname = imgurbash2 diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..66745a53564c --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/*.tar +/*.tar.gz +/pkg/ +/src/ @@ -1,20 +1,26 @@ -# Maintainer: Ramon <https://github.com/ram-on/imgurbash2> +# Maintainer: Alec Mev <alec@mev.earth> +# Contributor: NightSong <ramif.47@gmail.com> pkgname=imgurbash2 -pkgver=3.1 -pkgrel=5 -pkgdesc="A small shell script that uploads/deletes images to/from imgur.com" +pkgver=3.2 +pkgrel=1 +pkgdesc='A shell script that uploads/deletes images to/from IMGUR' arch=('any') -url="https://github.com/ram-on/imgurbash2" +url='https://github.com/ram-on/imgurbash2' license=('MIT') -depends=('curl') -optdepends=('xsel: automatically putting the URL on the X selection for easy pasting' - 'xclip: an alternative to xsel') -source=("https://github.com/ram-on/imgurbash2/archive/${pkgver}.tar.gz") -sha256sums=('e66e27b96d303a7896d2b4c8abc4dca4974193eebb3851e4ee0b88076b703809') +depends=('bash' 'curl') +optdepends=( + 'wl-clipboard: To be able to copy image URL to clipboard in Wayland' + 'xclip: To be able to copy image URL to clipboard in X' + 'xsel: To be able to copy image URL to clipboard in X' +) +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ram-on/imgurbash2/archive/${pkgver}.tar.gz") +sha256sums=('a17ef6c96399550293ee806bae4665e4353c3280df4d3ebe041cf589fe6bc259') package() { - cd "$pkgname-$pkgver" - install -D -m 755 ${pkgname} "${pkgdir}/usr/bin/${pkgname}" - install -D -m 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + cd "${pkgname}-${pkgver}" + install -Dm755 -t "${pkgdir}/usr/bin/" "${pkgname}" + install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" README.md + install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" examples.md + install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE } |