obs-service-recompress/PKGBUILD

21 lines
608 B
Bash

pkgname=obs-service-recompress
pkgver=0.5.0
pkgrel=0
pkgdesc="An OBS source service: Recompress files"
arch=('i686' 'x86_64')
url="https://www.github.com/openSUSE/obs-service-recompress"
license=('GPL-2.0+' 'GPL-2.0')
groups=('base-devel')
depends=('gzip', 'bzip2', 'xz', 'zstd')
source=(obs-service-recompress-${pkgver}.tar.gz)
md5sums=('SKIP')
package() {
msg "Installing build ..."
cd "${srcdir}"/obs-service-recompress-${pkgver}
mkdir -p ${pkgdir}/usr/lib/obs/service
install -m 0755 recompress ${pkgdir}/usr/lib/obs/service
install -m 0644 recompress.service ${pkgdir}/usr/lib/obs/service
}