blob: 8e938351ad2418b06fd6b05ca6d6ce088cc8f36a (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Maintainer: dreieck
_pkgname=sip4-sip-provides
pkgname="${_pkgname}"
epoch=2
_pkgver=4
pkgver=4.19.25
pkgrel=1
pkgdesc="Metapackage: Depends on 'sip4' and makes 'sip4' provide 'sip'-dependency (with \$pkgver automatically bumped to the one if the installed 'sip4' during build)."
url="https://archlinux.org/packages/extra/x86_64/sip4/"
license=('custom: public domain.')
arch=(
'any'
)
depends=(
"sip4<5"
"sip4>=4"
)
makedepends=()
optdepends=()
provides=(
"sip=${pkgver}"
)
replaces=()
conflicts=()
options=('emptydirs')
source=(
'COPYING'
)
sha256sums=(
'90d77bbbe6aa2cfdaf6eaa3580fd1a981e0d0428ae586ac37b47aee5e67fcf12'
)
pkgver() {
LC_ALL=C
LANG=C
export LC_ALL
export LANG
pacman -Qi sip4 | grep -E '^Version[[:space:]]*:' | sed -E 's|^.*:([^:]*)$|\1|g' | tr -d '[[:space:]]' | sed -E 's|\-[^-]*$||'
}
package() {
install -v -D -m644 "${srcdir}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
|