2022-09-03 00:24:27 -04:00
|
|
|
# Maintainer: TommyTran732 <contact@tommytran.io>
|
|
|
|
# Contributor: Frederic Bezies <fredbezies@gmail.com>, Cassandra Watergate (saltedcoffii) <cassandrajwatergate@gmail.com>, LSUtigers3131
|
2021-08-17 23:57:17 -04:00
|
|
|
|
|
|
|
pkgname=libpamac-flatpak
|
|
|
|
_pkgname=libpamac
|
2022-09-03 00:08:27 -04:00
|
|
|
pkgver=11.3.1
|
2021-08-17 23:57:17 -04:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Library for Pamac package manager based on libalpm - flatpak and support enabled"
|
|
|
|
arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
|
|
|
|
url="https://gitlab.manjaro.org/applications/libpamac"
|
|
|
|
license=('GPL3')
|
|
|
|
depends=('pacman>=6.0' 'pacman<6.1' 'flatpak' 'archlinux-appstream-data-pamac')
|
2022-09-03 00:08:27 -04:00
|
|
|
makedepends=('gettext' 'itstool' 'vala' 'meson' 'gobject-introspection' 'xorgproto' 'asciidoc')
|
2021-08-17 23:57:17 -04:00
|
|
|
options=(!emptydirs)
|
2022-09-03 00:08:27 -04:00
|
|
|
conflicts=('libpamac' 'libpamac-aur' 'libpamac-full' 'libpamac-full-dev' 'libpamac-nosnap')
|
2021-08-17 23:57:17 -04:00
|
|
|
source=(https://gitlab.manjaro.org/applications/libpamac/-/archive/$pkgver/libpamac-$pkgver.tar.bz2)
|
2022-09-03 00:08:27 -04:00
|
|
|
sha512sums=('2270cacb9d8effca68bf985da96b7160f635f2c8d7d1c584d5d1059a966134fd8499c90e21ac01f07e9f7152bf8c090841545a3b693068a2b84bd53f348ab4ef')
|
2021-08-17 23:57:17 -04:00
|
|
|
|
|
|
|
build() {
|
2022-09-03 00:08:27 -04:00
|
|
|
arch-meson -Denable-flatpak=true -Denable-snap=false --buildtype=release $_pkgname-$pkgver build
|
|
|
|
meson compile -C build
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
meson test -C build --print-errorlogs
|
2021-08-17 23:57:17 -04:00
|
|
|
}
|
|
|
|
|
2021-08-18 03:32:56 -04:00
|
|
|
package() {
|
2021-08-17 23:57:17 -04:00
|
|
|
backup=('etc/pamac.conf')
|
2022-09-03 00:08:27 -04:00
|
|
|
meson install -C build --destdir "$pkgdir"
|
2021-08-17 23:57:17 -04:00
|
|
|
}
|