mirror of
https://github.com/tommytran732/libpamac-flatpak
synced 2024-12-22 19:01:34 -05:00
33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
# Maintainer: TommyTran732
|
|
# Contributor: Frederic Bezies <fredbezies@gmail.com>
|
|
|
|
pkgname=libpamac-flatpak
|
|
_pkgname=libpamac
|
|
pkgver=11.1.0
|
|
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')
|
|
makedepends=('gettext' 'itstool' 'vala' 'meson' 'ninja' 'gobject-introspection' 'xorgproto' 'asciidoc')
|
|
options=(!emptydirs)
|
|
conflicts=('libpamac' 'libpamac-aur' 'libpamac-full' 'libpamac-full-dev')
|
|
source=(https://gitlab.manjaro.org/applications/libpamac/-/archive/$pkgver/libpamac-$pkgver.tar.bz2)
|
|
sha256sums=('545818a2935efcdbccc1545551918eb847219efc6388d2eff03dac8d5489f2e1')
|
|
|
|
build() {
|
|
cd $_pkgname-$pkgver
|
|
mkdir -p builddir
|
|
cd builddir
|
|
meson setup --prefix=/usr --sysconfdir=/etc -Denable-flatpak=true --buildtype=release
|
|
ninja
|
|
}
|
|
|
|
package() {
|
|
backup=('etc/pamac.conf')
|
|
cd $_pkgname-$pkgver
|
|
cd builddir
|
|
DESTDIR="$pkgdir" ninja install
|
|
}
|