2021-08-18 03:22:00 -04:00
|
|
|
# Maintainer: TommyTran732
|
|
|
|
# https://gitlab.manjaro.org/packages/extra/pamac
|
|
|
|
|
2021-08-18 04:16:45 -04:00
|
|
|
pkgname=pamac-flatpak-gnome
|
2021-08-18 03:22:00 -04:00
|
|
|
pkgver=10.1.3
|
|
|
|
pkgrel=3
|
|
|
|
_pkgfixver=$pkgver
|
|
|
|
|
2021-08-18 04:10:33 -04:00
|
|
|
pkgdesc="A Gtk3 frontend for libalpm (with AUR, Flatpak, AppIndicator support, and GNOME integration)"
|
2021-08-18 03:22:00 -04:00
|
|
|
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
|
|
|
|
url="https://gitlab.manjaro.org/applications/pamac"
|
|
|
|
license=('GPL3')
|
2021-08-18 04:10:33 -04:00
|
|
|
depends=('libnotify' 'libpamac-flatpak' 'libhandy' 'libappindicator-gtk3')
|
2021-08-18 03:22:00 -04:00
|
|
|
optdepends=('polkit-gnome: needed for authentification in Cinnamon, Gnome')
|
|
|
|
makedepends=('gettext' 'itstool' 'vala>=0.45' 'meson' 'ninja' 'gobject-introspection' 'xorgproto' 'asciidoc')
|
2021-08-18 04:10:33 -04:00
|
|
|
conflicts=('pamac' 'pamac-cli' 'pamac-classic' 'pamac-aur' 'pamac-aur-git' 'pamac-all' 'pamac-all-git' 'pamac-flatpak' 'gnome-software')
|
|
|
|
provides=('pamac' 'gnome-software')
|
2021-08-18 03:22:00 -04:00
|
|
|
options=(!emptydirs)
|
|
|
|
install=pamac.install
|
|
|
|
source=("pamac-$pkgver.tar.gz::$url/-/archive/v$pkgver/pamac-v$pkgver.tar.gz")
|
|
|
|
sha256sums=('577c0dfca155af9f4a7537b6c09bd37958ea5b5724c187f03239b27bd3d5951a')
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd "$srcdir/pamac-v$pkgver"
|
|
|
|
# adjust version string
|
|
|
|
sed -i -e "s|\"$_pkgfixver\"|\"$pkgver-$pkgrel\"|g" src/version.vala
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/pamac-v$pkgver"
|
|
|
|
mkdir -p builddir
|
|
|
|
cd builddir
|
2021-08-18 04:10:33 -04:00
|
|
|
meson --prefix=/usr --sysconfdir=/etc -Denable-flatpak=true -Denable-appindicator=true -Denable-fake-gnome-software=true --buildtype=release
|
2021-08-18 03:22:00 -04:00
|
|
|
ninja
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/pamac-v$pkgver/builddir"
|
|
|
|
DESTDIR="$pkgdir" ninja install
|
|
|
|
}
|