blob: 89f9b709de12ca8e762fe8a0018e5cb89f5058ec (
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
|
# Maintainer: d10n <david at bitinvert dot com>
pkgname=subscription-manager-rhsm-certificates-git
_name=${pkgname%-git}
pkgver=20220623.1.r18.g70318f1
pkgrel=1
pkgdesc='Certificates for Red Hat Subscription Management'
arch=(any)
url='https://github.com/candlepin/subscription-manager-rhsm-certificates/'
provides=(subscription-manager-rhsm-certificates)
makedepends=(git)
license=(GPL-2.0-only)
source=("git+https://github.com/candlepin/$_name.git")
b2sums=('SKIP')
pkgver() {
cd "$_name"
git describe --long --match='subscription-manager-rhsm-certificates-*' |
sed 's/^subscription-manager-rhsm-certificates-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "$_name"
make DESTDIR="$pkgdir" PREFIX=/ install
}
|