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

[pkg-upd] 9.4.1-4

parent be87600e
......@@ -4,11 +4,11 @@
pkgbase=pamac
pkgname=('pamac-common' 'pamac-cli' 'pamac-gtk' 'pamac-tray-appindicator'
'pamac-snap-plugin' 'pamac-flatpak-plugin')
'pamac-snap-plugin' 'pamac-flatpak-plugin' 'pamac-gnome-integration')
_pkgver=9.4.1
pkgver=9.4.1
pkgrel=2
_commit=623d0b8ec482d73e2db83c38387117bf5548fdc0
pkgrel=4
_commit=1c63f43a090a78903f60541ff0a087d3e0fb2a96
pkgdesc="A Package Manager based on libalpm with AUR and Appstream support"
arch=('i686' 'x86_64')
url="https://gitlab.manjaro.org/applications/pamac"
......@@ -22,7 +22,7 @@ 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=('eb293deb82d017cc05b8bf39d1ad1b55840da5e1da332b2fd77449285021e21e')
sha256sums=('d9caea862ea4ac4bff9534e99396eac085752a17a2484cb15490f8b83081067e')
prepare() {
mv "$srcdir/pamac-$_commit" "$srcdir/pamac-v$_pkgver"
......@@ -42,6 +42,7 @@ build() {
-Denable-appindicator=true \
-Denable-snap=true \
-Denable-flatpak=true \
-Denable-fake-gnome-software=true \
--buildtype=debug
# build
......@@ -82,6 +83,9 @@ package_pamac-common() {
rm "$pkgdir/usr/share/vala/vapi/pamac-flatpak.vapi"
rm "$pkgdir/usr/include/pamac-flatpak.h"
rm "$pkgdir/usr/lib/libpamac-flatpak.so"
# remove pamac-gnome-integration
rm "$pkgdir/usr/bin/gnome-software"
rm "$pkgdir/usr/share/dbus-1/services/org.gnome.Software.service"
}
package_pamac-cli() {
......@@ -148,3 +152,14 @@ package_pamac-flatpak-plugin() {
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"
}
package_pamac-gnome-integration() {
pkgdesc="Pamac gnome integration "
depends=('pamac-gtk')
provides=("pamac-gnome-integration=$pkgver-$pkgrel")
conflicts=("pamac-gnome-integration-dev" 'gnome-software')
cd "$srcdir/pamac-v$_pkgver"
install -Dm644 "data/applications/org.gnome.Software.desktop" "$pkgdir/usr/share/applications/org.gnome.Software.desktop"
install -Dm644 "builddir/data/dbus/org.gnome.Software.service" "$pkgdir/usr/share/dbus-1/services/org.gnome.Software.service"
install -Dm755 "builddir/src/gnome-software" "$pkgdir/usr/bin/gnome-software"
}
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