summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f58749412b57f109737d0ab89f5a3c6d611591cf (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
# Maintainer: Mazhar Hussain <mmazharhussainkgb1145@gmail.com>
pkgname=jar-thumbnailer-git
pkgver=5.a5e6ae0
pkgrel=1
pkgdesc="J2ME jar files thumbnailer for file-managers like nautilus, nemo, etc"
arch=(any)
url="https://github.com/realmazharhussain/jar-thumbnailer"
license=('GPL v3')
depends=('bash' 'unzip' 'coreutils' 'sed')
makedepends=()
provides=('jar-thumbnailer')
conflicts=('jar-thumbnailer')
source=("$pkgname"::'git+https://github.com/realmazharhussain/jar-thumbnailer.git')
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$pkgname"
  echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

package() {
    cd "${pkgname}"
    DESTDIR="$pkgdir" PREFIX=/usr ./install.sh
}