1
0
mirror of https://github.com/tommytran732/libpamac-flatpak synced 2024-11-22 02:21:34 -05:00
libpamac-flatpak/PKGBUILD

33 lines
1.1 KiB
Bash
Raw Normal View History

2021-08-17 23:57:17 -04:00
# Maintainer: TommyTran732
2021-08-18 01:14:50 -04:00
# Contributor: Frederic Bezies <fredbezies@gmail.com>
2021-08-17 23:57:17 -04:00
pkgname=libpamac-flatpak
_pkgname=libpamac
2021-09-14 01:28:13 -04:00
pkgver=11.1.0
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')
makedepends=('gettext' 'itstool' 'vala' 'meson' 'ninja' 'gobject-introspection' 'xorgproto' 'asciidoc')
options=(!emptydirs)
2021-09-14 01:28:13 -04:00
conflicts=('libpamac' 'libpamac-aur' 'libpamac-full' 'libpamac-full-dev')
2021-08-17 23:57:17 -04:00
source=(https://gitlab.manjaro.org/applications/libpamac/-/archive/$pkgver/libpamac-$pkgver.tar.bz2)
2021-09-14 01:28:13 -04:00
sha256sums=('545818a2935efcdbccc1545551918eb847219efc6388d2eff03dac8d5489f2e1')
2021-08-17 23:57:17 -04:00
build() {
cd $_pkgname-$pkgver
mkdir -p builddir
cd builddir
2021-08-18 01:25:48 -04:00
meson setup --prefix=/usr --sysconfdir=/etc -Denable-flatpak=true --buildtype=release
2021-08-17 23:57:17 -04:00
ninja
}
2021-08-18 03:32:56 -04:00
package() {
2021-08-17 23:57:17 -04:00
backup=('etc/pamac.conf')
cd $_pkgname-$pkgver
cd builddir
DESTDIR="$pkgdir" ninja install
}