Commit ce2a9d56 authored by Philip Müller's avatar Philip Müller

[pkg-upd] pamac-9.4.0rc-6

parent 4cce5991
......@@ -3,11 +3,12 @@
# Contributor: Helmut Stult <helmut@manjaro.org>
pkgbase=pamac
pkgname=('pamac-common' 'pamac-cli' 'pamac-gtk' 'pamac-tray-appindicator' 'pamac-snap-plugin')
_pkgver=9.3.0
pkgver=9.3.0
pkgrel=2
_commit=470b8cabf3733051e10cf81bf036c58c2a5e9777
pkgname=('pamac-common' 'pamac-cli' 'pamac-gtk' 'pamac-tray-appindicator'
'pamac-snap-plugin' 'pamac-flatpak-plugin')
_pkgver=9.4.0rc
pkgver=9.4.0rc
pkgrel=6
_commit=e01926d3d78a89b088e3488ff80769bead46c793
pkgdesc="A Package Manager based on libalpm with AUR and Appstream support"
arch=('i686' 'x86_64')
url="https://gitlab.manjaro.org/applications/pamac"
......@@ -15,13 +16,13 @@ license=('GPL3')
depends=('glib2>=2.42' 'json-glib' 'libsoup' 'dbus-glib' 'polkit' 'vte3'
'desktop-file-utils' 'pacman>=5.2' 'pacman<5.3' 'gnutls>=3.4' 'libnotify'
'appstream-glib' 'archlinux-appstream-data' 'pacman-mirrors>=4.9.1' 'git')
makedepends=('gettext' 'meson' 'vala>=0.36.6' 'libappindicator-gtk3' 'gobject-introspection'
'gtk3>=3.22' 'snapd' 'snapd-glib')
makedepends=('gettext' 'meson' 'vala>=0.47.0' 'libappindicator-gtk3' 'gobject-introspection'
'gtk3>=3.22' 'snapd' 'snapd-glib' 'flatpak')
options=(!emptydirs)
source=("pamac-$pkgver-$pkgrel.tar.gz::$url/-/archive/$_commit/$pkgname-$_commit.tar.gz")
#"pamac-$pkgver-$pkgrel.tar.gz::$url/-/archive/v$pkgver/pamac-v$pkgver.tar.gz")
sha256sums=('d06112b2ee0764aba8ce6e64b85bc7c58e402b52a5a6152145f619129359cc24')
sha256sums=('b8cd8b572e92e0ae7e818ca84873403f9decb07e897719372f7009fa8fd32fff')
prepare() {
mv "$srcdir/pamac-$_commit" "$srcdir/pamac-v$_pkgver"
......@@ -36,15 +37,21 @@ build() {
cd "$srcdir/pamac-v$_pkgver"
mkdir -p builddir
cd builddir
meson --prefix=/usr --sysconfdir=/etc -Denable-appindicator=true -Denable-snap=true --buildtype=debug
meson --prefix=/usr \
--sysconfdir=/etc \
-Denable-appindicator=true \
-Denable-snap=true \
-Denable-flatpak=true \
--buildtype=debug
# build
ninja
}
package_pamac-common() {
optdepends=('pamac-snap-plugin')
optdepends=('pamac-snap-plugin' 'pamac-flatpak-plugin')
backup=('etc/pamac.conf')
provides=("pamac-common=$pkgver-$pkgrel")
conflicts=('pamac<=7.3.4-2' 'pamac-aur' 'pamac-common-dev')
install=pamac-common.install
cd "$srcdir/pamac-v$_pkgver"
......@@ -67,14 +74,19 @@ package_pamac-common() {
rm -rf "$pkgdir/usr/share/applications"
rm "$pkgdir/usr/share/dbus-1/services/org.manjaro.pamac.manager.service"
rm -rf "$pkgdir/usr/share/gnome-shell"
# remove pamac-snap
# remove pamac-snap
rm "$pkgdir/usr/share/vala/vapi/pamac-snap.vapi"
rm "$pkgdir/usr/include/pamac-snap.h"
rm "$pkgdir/usr/lib/libpamac-snap.so"
# remove pamac-flatpak
rm "$pkgdir/usr/share/vala/vapi/pamac-flatpak.vapi"
rm "$pkgdir/usr/include/pamac-flatpak.h"
rm "$pkgdir/usr/lib/libpamac-flatpak.so"
}
package_pamac-cli() {
depends=('pamac-common')
provides=("pamac-cli=$pkgver-$pkgrel")
conflicts=('pamac<=7.3.4-2' 'pamac-aur' 'pamac-cli-dev')
cd "$srcdir/pamac-v$_pkgver"
install -Dm755 "builddir/src/pamac" "$pkgdir/usr/bin/pamac"
......@@ -82,7 +94,7 @@ package_pamac-cli() {
package_pamac-gtk() {
depends=('pamac-cli' 'gtk3>=3.22')
provides=("pamac=$pkgver-$pkgrel")
provides=("pamac=$pkgver-$pkgrel" "pamac-gtk=$pkgver-$pkgrel")
replaces=('pamac')
conflicts=('pamac' 'pamac-aur' 'pamac-gtk-dev')
install=pamac-gtk.install
......@@ -107,6 +119,7 @@ package_pamac-gtk() {
package_pamac-tray-appindicator() {
pkgdesc="Tray icon for better integration of pamac-gtk in KDE"
depends=('pamac-gtk' 'libappindicator-gtk3')
provides=("pamac-tray-appindicator=$pkgver-$pkgrel")
conflicts=("pamac-tray-appindicator-dev")
cd "$srcdir/pamac-v$_pkgver"
install -Dm755 "builddir/src/pamac-tray-appindicator" "$pkgdir/usr/bin/pamac-tray-appindicator"
......@@ -115,11 +128,22 @@ package_pamac-tray-appindicator() {
package_pamac-snap-plugin() {
pkgdesc="Snap plugin for Pamac"
depends=('snapd' 'snapd-glib')
depends=('snapd' 'snapd-glib' 'pamac-cli')
provides=("pamac-snap-plugin=$pkgver-$pkgrel")
conflicts=("pamac-snap-plugin-dev")
cd "$srcdir/pamac-v$_pkgver"
install -Dm644 "builddir/src/pamac-snap.vapi" "$pkgdir/usr/share/vala/vapi/pamac-snap.vapi"
install -Dm644 "builddir/src/pamac-snap.h" "$pkgdir/usr/include/pamac-snap.h"
install -Dm755 "builddir/src/libpamac-snap.so" "$pkgdir/usr/lib/libpamac-snap.so"
}
package_pamac-flatpak-plugin() {
pkgdesc="Flatpak plugin for Pamac"
depends=('flatpak' 'pamac-cli')
provides=("pamac-flatpak-plugin=$pkgver-$pkgrel")
conflicts=("pamac-flatpak-plugin-dev")
cd "$srcdir/pamac-v$_pkgver"
install -Dm644 "builddir/src/pamac-flatpak.vapi" "$pkgdir/usr/share/vala/vapi/pamac-flatpak.vapi"
install -Dm644 "builddir/src/pamac-flatpak.h" "$pkgdir/usr/include/pamac-flatpak.h"
install -Dm755 "builddir/src/libpamac-flatpak.so" "$pkgdir/usr/lib/libpamac-flatpak.so"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment