summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 674b48287e5fb9794bf67cd5adb83f7d4191c518 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Santiago Lo Coco <mail at slococo dot com dot ar>

pkgname=imgur.sh
pkgver=10.1
pkgrel=2
pkgdesc="Bart's Imgur uploader bash script."
arch=('any')
url="https://github.com/tremby/imgur.sh"
license=('Unlicense')
depends=('curl')
optdepends=('xsel: copy the URL to clipboard (or xclip)'
            'xclip: copy the URL to clipboard (or xsel)')
source=("https://github.com/tremby/imgur.sh/archive/v${pkgver}.tar.gz")
sha256sums=('7cff3c68377ab0783619ee96bde4b73ed9032b1ce8f9164462f6e6718f69f814')

package() {
  cd "${pkgname}-${pkgver}"

  install -Dm755 imgur.sh "${pkgdir}/usr/bin/imgur.sh"
  install -Dm644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}