summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 9 insertions, 15 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0fcb730b272d..e7bf7ce209b4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,18 +2,19 @@
# Contributor: Johannes Dewender arch at JonnyJD dot net
# Contributor: Andrea Scarpino <andrea@archlinux.org>
-pkgname=obs-service-format_spec_file
-pkgver=20180820
+_servicename=format_spec_file
+pkgname=obs-service-${_servicename}
+pkgver=20191114
+pkgrel=1
+_pkgver=1.3
pkgrel=1
-_pkgver=1.1
pkgdesc='An OBS source service: reformats a spec file to SUSE standard'
arch=('any')
-url='https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-format_spec_file'
-#url='https://github.com/openSUSE/obs-service-format_spec_file'
+url='https://github.com/openSUSE/obs-service-format_spec_file'
license=('GPL2')
-depends=('obs-service-source_validator' 'perl-date-parse')
+depends=('obs-service-source_validator' 'perl-timedate')
source=("http://download.opensuse.org/source/tumbleweed/repo/oss/src/${pkgname}-${pkgver}-${_pkgver}.src.rpm")
-sha256sums=('bffdca5efd948a6ad926346f76aeb08ac99c8e36d086dab0701acbb1cdb0dcad')
+sha256sums=('cbfcbd82f0b14ec1b4cffb4ea393aa4f17e28b437c0fb41954544d068e7854d2')
prepare() {
cd "$srcdir"
@@ -22,12 +23,5 @@ prepare() {
package() {
cd "$srcdir/$pkgname-$pkgver"
-
- mkdir -p "$pkgdir/usr/lib/obs/service/format_spec_file.files"
- install -m755 format_spec_file "$pkgdir/usr/lib/obs/service/"
- install -m644 format_spec_file.service "$pkgdir/usr/lib/obs/service/"
- install -m755 prepare_spec patch_license \
- "$pkgdir/usr/lib/obs/service/format_spec_file.files/"
- install -m644 licenses_changes.txt \
- "$pkgdir/usr/lib/obs/service/format_spec_file.files/"
+ make DESTDIR=$pkgdir install
}