diff options
author | Rhinoceros | 2022-06-15 20:38:51 +1000 |
---|---|---|
committer | Rhinoceros | 2022-06-15 20:38:51 +1000 |
commit | 4f0ed60afa2c7fc55470e134e666d2c167251737 (patch) | |
tree | 91ceacafb8701e472452819a3655020957719ca6 /PKGBUILD | |
parent | 403e9a57420d80494eb70a2baa3ab103e6e56d1a (diff) | |
download | aur-imgur-screenshot.tar.gz |
Update to 2.0.0-2
* Upstream is dead. Added pull request that was never added upstream.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -4,7 +4,7 @@ pkgname=imgur-screenshot pkgver=2.0.0 -pkgrel=1 +pkgrel=2 pkgdesc='Take screenshot selection, upload to imgur + more cool things' arch=('any') url='https://github.com/jomo/imgur-screenshot' @@ -13,12 +13,19 @@ depends=('curl' 'jq' 'libnotify') optdepends=('scrot: (or other screenshot tool) for making screenshots' 'xclip: needed for copy_url') conflicts=('imgur-screenshot-git') -source=("https://github.com/jomo/imgur-screenshot/archive/v${pkgver}.tar.gz" +source=("${url}/archive/v${pkgver}.tar.gz" 'imgur-screenshot.desktop' - 'imgur-screenshot.png') + 'imgur-screenshot.png' + "${pkgname}_144.patch::${url}/pull/144.patch") sha256sums=('1581b3d71e9d6c022362c461aa78ea123b60b519996ed068e25a4ccf5a3409f5' 'ba1c175b17cece30d6f2bcd4b15d924ae64855bd350a42efa9ea146880135fa2' - 'b7f0eb70c642bb5cea60bf8a3b87125c53e64b0636fcfe9b9f591c6731a2b0c0') + 'b7f0eb70c642bb5cea60bf8a3b87125c53e64b0636fcfe9b9f591c6731a2b0c0' + '2c2578c3ed358ec4dc7199924ab9e4d8f9cdebc7cbd97b52831f519fb781ffd4') + +prepare() { + cd "$pkgname-$pkgver" + patch -p1 -i "$srcdir/${pkgname}_144.patch" +} package() { cd "${pkgname}-${pkgver}" |