summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7d03d6d4c285f488e369cefc7bb5bfd92ec21533 (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
30
# Maintainer: Ecmel B. CANLIER <ecbercnlmc(at)gmail.com>
pkgname=webdz-git
pkgver=1.2.1DEV
pkgrel=1
pkgdesc="Cleans up unminified, unneeded etc. files from your website project and creates a zip archive."
url="https://github.com/Admicos/webdz"
arch=('any')
license=('MIT')
depends=('java-runtime')
makedepends=('unzip' 'gradle' 'git' 'zip')
provides=('webdz')
conflicts=('webdz')
source=("webdz::git+https://github.com/Admicos/webdz")
md5sums=('SKIP')

pkgver() {
  cd "webdz"
  eval $(sed 's/\-//' res/webdz.properties)
  echo $version
}

build() {
  cd "webdz"
  gradle distZip
}

package() {
  cd "webdz"
  unzip webdz-distributeMe.zip -d $pkgdir
}