blob: f1e4106d90fccd229bf5250e0dab31c34163b54e (
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Contributor: Marcell Meszaros < marcell.meszaros AT runbox.eu >
# Contributor: Thom Wiggers <pkgbuild@thomwiggers.nl>
# Contributor: Sirat18 <aur@sirat8.de>
# Contributor: wodim <neikokz@gmail.com>
_pkgbase=networkmanager-iodine
pkgname="${_pkgbase}-git"
pkgver=1.2.0.r72.g53f5069
pkgrel=1
pkgdesc="Iodine plugin for NetworkManager (git build)"
arch=('i686' 'x86_64')
url='https://gitlab.gnome.org/GNOME/network-manager-iodine'
license=('GPL-2.0-or-later')
depends=(
'at-spi2-core'
'cairo'
'gdk-pixbuf2'
'glib2'
'glibc'
'gtk3'
'harfbuzz'
'iodine'
'libnm'
'libnma'
'libsecret'
'networkmanager'
'pango'
'zlib'
)
makedepends=('git' 'intltool')
provides=("${_pkgbase}=${pkgver%.r*}")
conflicts=("${_pkgbase}")
source=("${pkgname}::git+${url}.git")
b2sums=('SKIP')
pkgver() {
cd "${srcdir}/$pkgname"
git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "${srcdir}/$pkgname"
echo "Adding LDFLAGS vaues to CLFLAGS to respect LTO, relro, as-needed etc. configs."
export CFLAGS+=" ${LDFLAGS}"
./autogen.sh \
--prefix=/usr \
--includedir=/usr/include \
--libdir=/usr/lib \
--libexecdir=/usr/lib \
--sharedstatedir=/var/lib/NetworkManager \
--sysconfdir=/etc \
--enable-static=no
}
build() {
cd "${srcdir}/$pkgname"
make
}
package() {
cd "${srcdir}/$pkgname"
make DESTDIR="$pkgdir" install
}
|