2022-09-03 01:09:26 -04:00
|
|
|
# Maintainer: TommyTran732 <contact@tommytran.io>
|
|
|
|
# Contributor: Frederic Bezies <fredbezies@gmail.com>, Cassandra Watergate (saltedcoffii) <cassandrajwatergate@gmail.com>, LSUtigers3131
|
2021-08-18 03:22:00 -04:00
|
|
|
|
2021-08-18 04:16:45 -04:00
|
|
|
pkgname=pamac-flatpak-gnome
|
2022-09-03 01:09:26 -04:00
|
|
|
pkgver=10.4.2
|
2021-09-14 02:58:08 -04:00
|
|
|
pkgrel=1
|
2021-08-18 03:22:00 -04:00
|
|
|
_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')
|
2022-09-03 01:09:26 -04:00
|
|
|
depends=('libnotify' 'libpamac-flatpak>=10.3.0' 'libhandy' 'git' 'fakeroot' 'pkgconf' 'polkit-gnome')
|
|
|
|
optdepends=('fwupd: support firmware updates')
|
|
|
|
makedepends=('gettext' 'itstool' 'vala>=0.45' 'meson' 'gobject-introspection' 'xorgproto' 'asciidoc')
|
|
|
|
conflicts=('pamac' 'pamac-cli' 'pamac-gtk' 'pamac-qt' 'pamac-classic' 'pamac-aur' 'pamac-aur-git' 'pamac-all' 'pamac-all-git' 'pamac-flatpak-gnome' 'pacmac-nosnap')
|
|
|
|
provides=('pamac')
|
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")
|
2022-09-03 01:09:26 -04:00
|
|
|
sha512sums=('8b5b2298e16bcfc6fbdfbf2e2cd77cb9cd769d9faa503dd8fec35c18f37b52589ffda670dc9299a8f4962f039ba870007b4601a2610ac0fc298f64a4f8e67eeb')
|
2021-08-18 03:22:00 -04:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
# adjust version string
|
2022-09-03 01:09:26 -04:00
|
|
|
sed -i -e "s|\"$_pkgfixver\"|\"$pkgver-$pkgrel\"|g" $srcdir/pamac-v$pkgver/src/version.vala
|
2021-08-18 03:22:00 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2022-09-03 01:09:26 -04:00
|
|
|
arch-meson --buildtype=release -Denable-fake-gnome-software=true $srcdir/pamac-v$pkgver build
|
|
|
|
meson compile -C build
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
meson test -C build --print-errorlogs
|
2021-08-18 03:22:00 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2022-09-03 01:09:26 -04:00
|
|
|
meson install -C build --destdir "$pkgdir"
|
2021-08-18 03:22:00 -04:00
|
|
|
}
|