diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 21 |
1 files changed, 13 insertions, 8 deletions
@@ -5,13 +5,13 @@ pkgname=ombi-dev pkgver=3.0.3072 -pkgrel=2 +pkgrel=3 pkgdesc="Ombi V3 Develop branch. Gives Plex or Emby users the ability to request content by themselves" -arch=('any') +arch=('x86_64') url='https://github.com/tidusjar/Ombi' license=('GPL2') depends=('libunwind' 'openssl-1.0') -makedepends=('tar') +makedepends=('bsdtar') optdepends=('sonarr: Automated TV show downloads' 'sickrage: Automated TV show downloads' 'radarr: Automated movie downloads' @@ -25,13 +25,17 @@ conflicts=('ombi') options=('staticlibs') backup=('opt/Ombi/Ombi.sqlite') install='ombi.install' -noextract=("${pkgname}.tar.gz") -source=("${pkgname}.tar.gz::https://ci.appveyor.com/api/projects/tidusjar/requestplex/artifacts/linux.tar.gz?branch=develop" +source=("${pkgname}-${pkgver}.tar.gz::https://ci.appveyor.com/api/projects/tidusjar/requestplex/artifacts/linux.tar.gz?branch=develop" 'ombi.service' - 'ombi.sysusers') + 'ombi.sysusers' + 'ombi.tmpfiles') + +noextract=("${pkgname}-${pkgver}.tar.gz") + sha256sums=('SKIP' '79f4860eaf9d00d3739c6d9fc5e9625ea68dc329bb1cbddae5b51ae4faaae20f' - '6efc381990e1113737686d4f61795095fa8edbc176daa877fd755f1ddb3a40fa') + '6efc381990e1113737686d4f61795095fa8edbc176daa877fd755f1ddb3a40fa' + 'afb971692d313d988096cb4447033f8ca2234016ccc2b3590afd5cbcb36a8e56') pkgver() { curl -s https://ci.appveyor.com/api/projects/tidusjar/requestplex/branch/develop | grep -Pom 1 '"version":"\K[^"]*' @@ -39,7 +43,7 @@ pkgver() { prepare() { mkdir -p "${srcdir}/ombi" - tar -xzf "${pkgname}.tar.gz" -C "${srcdir}/ombi" + bsdtar -x -C "${srcdir}/ombi" -f "${pkgname}-${pkgver}.tar.gz" } package() { @@ -51,4 +55,5 @@ package() { install -Dm644 "${srcdir}/ombi.service" "${pkgdir}/usr/lib/systemd/system/ombi.service" install -Dm644 "${srcdir}/ombi.sysusers" "${pkgdir}/usr/lib/sysusers.d/ombi.conf" + install -Dm644 "${srcdir}/ombi.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/ombi.conf" } |