summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD22
2 files changed, 19 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9f60c4ef939..1198b40f694 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = pamac-aur
pkgdesc = A Gtk3 frontend for libalpm
- pkgver = 6.1.0
+ pkgver = 6.1.1
pkgrel = 1
url = https://github.com/manjaro/pamac
install = pamac.install
@@ -34,8 +34,8 @@ pkgbase = pamac-aur
conflicts = pamac
options = !emptydirs
backup = etc/pamac.conf
- source = pamac-6.1.0-1.tar.gz::https://github.com/manjaro/pamac/archive/V6.1.0.tar.gz
- sha256sums = 8ca5bb0542f2dc26b637421072eae795d0dbcec3b30f2bdc362af117eea4c679
+ source = pamac-6.1.1-1.tar.gz::https://github.com/manjaro/pamac/archive/v6.1.1.tar.gz
+ sha256sums = fb4d8f9754ca11d32132cbf5d8c8cb49963e53e39069d3801ced45d3902544a5
pkgname = pamac-aur
diff --git a/PKGBUILD b/PKGBUILD
index 77571fcfebf..2bfa7cc462e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Contributor: Zeph <zeph33@gmail.com>
# Maintainer: Zeph <zeph33@gmail.com>
pkgname=pamac-aur
-_pkgver=6.1.0
+_pkgver=6.1.1
pkgver=$_pkgver
pkgrel=1
pkgdesc="A Gtk3 frontend for libalpm"
@@ -23,7 +23,7 @@ options=(!emptydirs)
install=pamac.install
source=("pamac-$pkgver-$pkgrel.tar.gz::$url/archive/v$_pkgver.tar.gz")
-sha256sums=('2d63d33517c288f899eedab08c46dbae859d72b7c3f3a455a3e6622ce9b7851d')
+sha256sums=('fb4d8f9754ca11d32132cbf5d8c8cb49963e53e39069d3801ced45d3902544a5')
prepare() {
cd "$srcdir/pamac-$_pkgver"
@@ -35,15 +35,25 @@ prepare() {
build() {
cd "$srcdir/pamac-$_pkgver"
+ mkdir -p builddir
+ cd builddir
+# meson --prefix="$pkgdir"/usr --sysconfdir="$pkgdir"/etc ./ ./builddir/
+ meson --prefix=/usr --sysconfdir=/etc
# build
- mkdir builddir
- meson --prefix="$pkgdir"/usr --sysconfdir="$pkgdir"/etc ./ ./builddir/
+ ninja
}
package() {
cd "$srcdir/pamac-$_pkgver/builddir"
- ninja
- ninja install
+
+ DESTDIR="$pkgdir" ninja install
+ # enable systemd timer
+ mkdir -p "$pkgdir/etc/systemd/system/multi-user.target.wants"
+ ln -sf "/usr/lib/systemd/system/pamac-cleancache.timer" "$pkgdir/etc/systemd/system/multi-user.target.wants"
+
+ # remove pamac-tray-appindicator
+# rm "$pkgdir/usr/bin/pamac-tray-appindicator"
+# rm "$pkgdir/etc/xdg/autostart/pamac-tray-appindicator.desktop"
}
# vim:set ts=2 sw=2 et: