summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXorg2021-03-21 14:14:16 +0100
committerXorg2021-03-21 14:14:16 +0100
commitd97e244f362e0d8769135a8d8b7316615f727af0 (patch)
tree6e8de152bdd2b9ef3d3a1d7f6b3353292b7d11fb
parent3285fb021ef917ba359ff4a222c2129bc2cdbdfb (diff)
downloadaur-obs-service-recompress.tar.gz
Initial package creation
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD26
2 files changed, 20 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a52860cdec4..95f89a8bc1f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,18 @@
-# Generated by mksrcinfo v8
-# Wed Mar 2 02:51:11 UTC 2016
pkgbase = obs-service-recompress
pkgdesc = Compression Service for the OpenSUSE Build Service (OBS)
- pkgver = 0.3.1.r14
+ pkgver = 0.5.1
pkgrel = 1
url = https://github.com/openSUSE/obs-service-recompress
arch = any
groups = obs
- license = GPL3
+ license = GPL2
depends = obs-build
- depends = git
- source = obs-service-recompress::git+https://github.com/openSUSE/obs-service-recompress.git
- md5sums = SKIP
+ depends = gzip
+ depends = bzip2
+ depends = xz
+ depends = zstd
+ source = obs-service-recompress-0.5.1.tar.gz::https://github.com/openSUSE/obs-service-recompress/archive/0.5.1.tar.gz
+ sha512sums = d86a9a70890c90cc8c0b8ea22f9b18908bbf3533d1203ed0adbf37a166b4617646f7b1160627b2ebffef19bfb242e4945ed06009a73312d90993ea7d470c6367
pkgname = obs-service-recompress
diff --git a/PKGBUILD b/PKGBUILD
index 03ce3576ed8..23529d156f2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,22 @@
-# Maintainer: Dustin Falgout <dustin@antergos.com>
+# Maintainer: X0rg
pkgname=obs-service-recompress
-_pkgver=0.3.1
-pkgver="${_pkgver}.r14"
+pkgver=0.5.1
pkgrel=1
pkgdesc="Compression Service for the OpenSUSE Build Service (OBS)"
arch=('any')
url="https://github.com/openSUSE/obs-service-recompress"
-license=('GPL3')
-source=("${pkgname}::git+https://github.com/openSUSE/${pkgname}.git")
+license=('GPL2')
groups=('obs')
-depends=('obs-build' 'git')
-md5sums=('SKIP')
-
-pkgver() {
- cd "${srcdir}/${pkgname}"
- printf "%s.r%s" "${_pkgver}" "$(git rev-list --count HEAD)"
-}
+depends=('obs-build'
+ 'gzip'
+ 'bzip2'
+ 'xz'
+ 'zstd')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/openSUSE/obs-service-recompress/archive/$pkgver.tar.gz")
+sha512sums=('d86a9a70890c90cc8c0b8ea22f9b18908bbf3533d1203ed0adbf37a166b4617646f7b1160627b2ebffef19bfb242e4945ed06009a73312d90993ea7d470c6367')
package() {
- cd "${srcdir}/${pkgname}"
- make DESTDIR="${pkgdir}" PREFIX=/usr install
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX="/usr" DESTDIR="$pkgdir" install
}