2022-09-03 00:27:08 -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
|
|
|
|
|
|
|
pkgname=pamac-flatpak
|
2022-11-03 17:27:51 -04:00
|
|
|
pkgver=10.4.3
|
|
|
|
pkgrel=1
|
2021-08-18 03:22:00 -04:00
|
|
|
_pkgfixver=$pkgver
|
|
|
|
|
|
|
|
pkgdesc="A Gtk3 frontend for libalpm (with AUR, Flatpak and AppIndicator support)"
|
|
|
|
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
|
|
|
|
url="https://gitlab.manjaro.org/applications/pamac"
|
|
|
|
license=('GPL3')
|
2022-09-16 01:55:19 -04:00
|
|
|
depends=('libnotify' 'libpamac-flatpak>=10.3.0' 'libhandy' 'git' 'fakeroot' 'pkgconf' 'appstream-glib')
|
2022-09-03 00:47:34 -04:00
|
|
|
optdepends=('polkit-gnome: needed for authentification in Cinnamon, Gnome'
|
|
|
|
'fwupd: support firmware updates')
|
2022-09-02 22:26:26 -04:00
|
|
|
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')
|
2021-08-18 03:22:00 -04:00
|
|
|
provides=('pamac')
|
|
|
|
options=(!emptydirs)
|
|
|
|
install=pamac.install
|
2022-09-16 02:06:56 -04:00
|
|
|
source=("pamac-$pkgver.tar.gz::$url/-/archive/v$pkgver/pamac-v$pkgver.tar.bz2")
|
2022-11-03 17:27:51 -04:00
|
|
|
sha512sums=('011af395092c27c4e73f50b5f43e662b5fb5cd7ae920176c3702479fb05df958fa7ceaf206bfcdad016103d0fc9d6b94e0d94d27701e5afcad2ae92024c90e5c')
|
2021-08-18 03:22:00 -04:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
# adjust version string
|
2022-09-03 00:14:35 -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 00:14:35 -04:00
|
|
|
arch-meson --buildtype=release -Denable-fake-gnome-software=false $srcdir/pamac-v$pkgver build
|
|
|
|
meson compile -C build
|
2021-08-18 03:22:00 -04:00
|
|
|
}
|
|
|
|
|
2022-09-03 00:14:35 -04:00
|
|
|
check() {
|
|
|
|
meson test -C build --print-errorlogs
|
2022-09-02 22:26:26 -04:00
|
|
|
}
|
2022-09-03 00:14:35 -04:00
|
|
|
|
|
|
|
package() {
|
|
|
|
meson install -C build --destdir "$pkgdir"
|
|
|
|
}
|