blob: c8ba77df6af9b9000c8605309ee637b94d5c091d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Yurii Kolesnykov <root@yurikoles.com>
# Contributor: Brenton Horne <brentonhorne77 at gmail dot com>
# Contributor: Johannes Dewender arch at JonnyJD dot net
# Contributor: Andrea Scarpino <andrea@archlinux.org>
#
# Pull Requests are welcome here: https://github.com/yurikoles-aur/obs-service-format_spec_file
_servicename=format_spec_file
pkgname=obs-service-"${_servicename}"
_pkgver=20240121
_subpkgver=1.3
pkgver="${_pkgver}.${_subpkgver}"
_susepkgver="${_pkgver}-${_subpkgver}"
pkgrel=1
pkgdesc='An OBS source service: reformats a spec file to SUSE standard'
arch=('any')
url='https://github.com/openSUSE/obs-service-format_spec_file'
license=('GPL-2.0-only')
depends=('obs-service-source_validator')
source=("https://download.opensuse.org/source/tumbleweed/repo/oss/src/${pkgname}-${_susepkgver}.src.rpm")
sha256sums=('934c698740a17a0d1362100d1041ea6d69e4fa9543e9185bfc26b5b39767be38')
prepare() {
bsdtar -xf "${pkgname}-${_pkgver}.tar.bz2"
}
package() {
cd "${pkgname}-${_pkgver}"
make DESTDIR="${pkgdir}" install
}
|