summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9a096ff98c88dc0e6406a071b6eecdaf40e6577d (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
26
27
28
29
# Maintainer: Matt Harrison <matt@mistbyte.com>
# This PKGBUILD is maintained at https://github.com/matt-h/aur-pkgbuilds/tree/master/wp-boilerplate

pkgname=wp-boilerplate
pkgver=1.0
pkgrel=1
pkgdesc="Download and customize WordPress Plugin Boilerplate in one go http://wppb.io/"
arch=('any')
url="https://github.com/matt-h/wp-boilerplate"
license=('MIT')
depends=('wget')
source=(
  "https://github.com/matt-h/${pkgname}/archive/${pkgver}.tar.gz"
)
sha256sums=(
  '31a999f245ab8b317bcee88ad15badf898d2da4fc4e1219345ddf8b8ec62c395'
)

package() {
  install -d "$pkgdir/usr/bin"

  msg "Installing files"
  install -Dm755 "$srcdir/${pkgname}-${pkgver}/${pkgname}" "$pkgdir/usr/bin/${pkgname}"

  install -Dm644 "$srcdir/${pkgname}-${pkgver}/LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
  msg2 "Done installing files"
}

# vim:set ts=2 sw=2 et: