blob: fb68f94822c2451a901e4725e6755a96c0a5b506 (
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
|
# Maintainer: Lukas Probsthain <lukas.probsthain@google.com>
pkgdesc="A GUI for Modem-Manager. Build from source with patches."
url='https://linuxonly.ru/page/modem-manager-gui/'
pkgname='modem-manager-gui-hg'
_pkgname="${pkgname%-hg}"
pkgver=r85+.3f6d6c4ee74c+
arch=('x86_64')
pkgrel=1
license=('GPL3')
conflicts=(modem-manager-gui)
provides=(modem-manager-gui)
makedepends=(
mercurial
)
depends=(
gtk3
glib2
gdbm
po4a
itstool
gtkspell3
)
source=("${_pkgname}::hg+http://hg.code.sf.net/p/modem-manager-gui/code"
"fix_segfault_on_DNS_entries.patch")
sha256sums=('SKIP'
'2a21a7ab4ae78e4296a28e46a337eee042a8d7855a8af5d116ebcfcd989e9892')
pkgver() {
cd "${_pkgname}"
printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
}
prepare() {
cd "${_pkgname}"
patch --forward --strip=1 --input="${srcdir}/fix_segfault_on_DNS_entries.patch"
}
build() {
cd "${_pkgname}"
#meson build
#cd build
#ninja
sh configure
make
}
package() {
cd "${_pkgname}"
make DESTDIR="${pkgdir}" install
}
|