blob: f4a24191e1004ffa87824c49ad685cfecb6dbd2c (
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
|
# $Id: PKGBUILD 102874 2013-12-23 07:07:51Z bgyorgy $
# Maintainer: Jonathan Conder <jonno.conder@gmail.com>
pkgname=gnome-packagekit
pkgver=3.10.1
pkgrel=1
pkgdesc='Collection of graphical tools for PackageKit to be used in the GNOME desktop'
arch=('i686' 'x86_64')
url='http://www.packagekit.org/'
license=('GPL')
depends=('desktop-file-utils' 'gtk3' 'hicolor-icon-theme' 'libnotify'
'packagekit')
makedepends=('gconf' 'gtk-doc' 'intltool' 'itstool' 'libcanberra' 'upower')
optdepends=('gnome-settings-daemon-updates: update and message notifications')
options=('!emptydirs')
install="$pkgname.install"
source=("http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
"packagekit-0.8.patch")
sha256sums=('40f11968e6a40606486f232fd6f61348eb75dc465f25deb2f157f6546bbe4e26'
'717ba4d281adbafc9409202538ad1c8ce9a2bb41a6a0bc127e8dd5c4c1da1d65')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
patch -RNp1 -i "$srcdir/packagekit-0.8.patch"
}
build() {
cd "$srcdir/$pkgname-$pkgver"
_mime='application/x-xz-compressed-tar;application/x-servicepack;'
sed -i "s@MimeType=.*@MimeType=$_mime@" data/gpk-install-local-file.desktop.in
sed -i 's@python@python2@' python/enum-convertor.py
sed -i 's@python enum-convertor.py@python2 enum-convertor.py@' python/packagekit/Makefile.{am,in}
export PYTHON=/usr/bin/python2
./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-gtk-doc \
--disable-schemas-compile \
--disable-scrollkeeper
make -s
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make -s DESTDIR="$pkgdir" install
}
|