blob: 6c4a231612779ae58a36bb0036cea87b587a86b5 (
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
|
# Maintainer: s3rj1k <evasive dot gyron at gmail dot com>
# Do not forget to run `makepkg --printsrcinfo > .SRCINFO`
_pkgname=gnome-panel
_pkgver=3.44.0
pkgname=${_pkgname}-minimal
pkgver=3.44.0+0a5a7081f
pkgrel=6
pkgdesc='Panel of GNOME Flashback (minimal build)'
arch=('x86_64')
url='https://wiki.gnome.org/Projects/GnomePanel'
license=('GPL')
depends=('libwnck3' 'pango')
makedepends=('autoconf-archive' 'git' 'gtk-doc' 'itstool' 'yelp-tools')
provides=("${_pkgname}=${pkgver%%+*}")
conflicts=("${_pkgname}")
source=("git+https://gitlab.gnome.org/GNOME/gnome-panel.git#tag=${_pkgver}"
'minimize.patch')
sha256sums=('SKIP'
'e9fc7811ed3cdc92746b4d8b2f9074e59f1298fe7b511531b61d4bd18bd8e4ff')
pkgver() {
cd "${srcdir}/${_pkgname}"
printf "%s+%s" "${_pkgver}" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "${_pkgname}"
patch -Np1 -i "$srcdir/minimize.patch"
}
build() {
cd "${_pkgname}"
./autogen.sh \
--prefix=/usr \
--disable-schemas-compile \
--enable-compile-warnings=minimum
make
}
package() {
cd "${_pkgname}"
make DESTDIR="${pkgdir}" install
}
|