# Maintainer:
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>

setvar pkgname = 'subberthehut'
setvar pkgver = '17'
setvar pkgrel = '0'
setvar pkgdesc = ''Command-line based OpenSubtitles.org downloader''
setvar arch = 'all'
setvar url = ''https://github.com/mus65/subberthehut''
setvar license = ''GPL2''
setvar depends = ''
setvar makedepends = ''xmlrpc-c-dev glib-dev zlib-dev curl-dev bash-completion''
setvar source = ""https://github.com/mus65/$pkgname/archive/$pkgver.tar.gz""

proc build {
  make -C "$srcdir"/$pkgname-$pkgver || return 1
}

proc package {
  make -C "$srcdir"/$pkgname-$pkgver DESTDIR="$pkgdir" PREFIX=/usr install \
    || return 1
}

setvar md5sums = ""a208bc658dce94d4b1696403a9d75e69  17.tar.gz""
setvar sha256sums = ""fde3137b9f818e02eda3e6d7bf444b02df50bf60bb817a672e3413464a816e14  17.tar.gz""
setvar sha512sums = ""24d5935ec88c38f00e8b2e060e8cf8c680b3a1488539e66a7df6611697611cef420fc74cce9d2530a76a5e1e9215d5ece8267160ba69f8d6e266d5b063bd783e  17.tar.gz""