[arch-commits] Commit in gnome-applets/trunk (PKGBUILD)
Balló György
bgyorgy at archlinux.org
Tue Apr 20 21:41:46 UTC 2021
Date: Tuesday, April 20, 2021 @ 21:41:45
Author: bgyorgy
Revision: 920402
Minor changes
Modified:
gnome-applets/trunk/PKGBUILD
----------+
PKGBUILD | 31 +++++++++++--------------------
1 file changed, 11 insertions(+), 20 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-20 21:41:44 UTC (rev 920401)
+++ PKGBUILD 2021-04-20 21:41:45 UTC (rev 920402)
@@ -4,40 +4,31 @@
pkgname=gnome-applets
pkgver=3.40.0
pkgrel=1
-pkgdesc="Small applications for the GNOME Panel"
+pkgdesc='Small applications for the GNOME Panel'
arch=('x86_64')
-url="https://wiki.gnome.org/Projects/GnomeApplets"
+url='https://wiki.gnome.org/Projects/GnomeApplets'
license=('GPL')
-depends=('gnome-panel' 'libgtop' 'tracker3' 'cpupower' 'upower')
-makedepends=('autoconf-archive' 'git' 'gnome-settings-daemon' 'intltool' 'python' 'yelp-tools')
+depends=('cpupower' 'gnome-panel' 'libgtop' 'tracker3' 'upower')
+makedepends=('itstool')
optdepends=('tracker3-miners: Search bar')
-_commit=7eb9a52f09ec1ab4772cb056044dfc2f0209daac # tags/3.40.0^0
-source=("git+https://gitlab.gnome.org/GNOME/gnome-applets.git#commit=$_commit")
-sha256sums=('SKIP')
+source=("https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz")
+sha256sums=('2940bdb48354a430dabebc23075ecdf685a25d236e46f4bc4b424513de6cd5cc')
-pkgver() {
- cd $pkgname
- git describe --tags | sed 's/-/+/g'
-}
-
prepare() {
- cd $pkgname
-
+ cd $pkgname-$pkgver
# Use correct D-Bus config location
sed -i '/^dbus_confdir =/ s/sysconfdir/datadir/' gnome-applets/cpufreq/cpufreq-selector/Makefile.am
-
- NOCONFIGURE=1 ./autogen.sh
+ autoreconf -fi
}
build() {
- cd $pkgname
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
- --disable-schemas-compile --enable-compile-warnings=minimum
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --disable-schemas-compile --enable-compile-warnings=minimum
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
- cd $pkgname
+ cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list