summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e32ac054b1e5d4a115459e03d2c0389ac89b8dad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Jan Máslo <janmaslo {at} atlas {dot} cz>

pkgname=yell-git
pkgver=1.0
pkgrel=1
pkgdesc="Common word URL shortener"
arch=('any')
url="https://gitlab.com/maslic/yell.sh"
license=('MIT')
depends=('bash' 'curl')
makedepends=('git')
provides=('yell')

source=(${pkgname%.sh}::git+https://gitlab.com/maslic/yell.sh.git)

md5sums=('SKIP') #autofill using updpkgsums

package() {
  mkdir -p "$pkgdir/usr/bin"
  mkdir -p "$pkgdir/usr/share/licenses/$pkgname"

  cp "$srcdir/$pkgname/yell.sh" "$pkgdir/usr/bin/yell"
  cp "$srcdir/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}