commit ab7b07e5167b17b08aac9c3b396789bc7e3235be Author: TommyTran732 Date: Tue Aug 17 23:57:17 2021 -0400 Initial Commit diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..2e1cea4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,34 @@ +pkgbase = libpamac-flatpak + pkgdesc = Library for Pamac package manager based on libalpm - flatpak support enabled + pkgver = 11.0.1 + pkgrel = 1 + url = https://gitlab.manjaro.org/applications/libpamac + arch = i686 + arch = pentium4 + arch = x86_64 + arch = arm + arch = armv6h + arch = armv7h + arch = aarch64 + license = GPL3 + makedepends = gettext + makedepends = itstool + makedepends = vala + makedepends = meson + makedepends = ninja + makedepends = gobject-introspection + makedepends = xorgproto + makedepends = asciidoc + depends = pacman>=6.0 + depends = pacman<6.1 + depends = flatpak + depends = archlinux-appstream-data-pamac + conflicts = libpamac + conflicts = libpamac-aur + conflicts = libpamac-full + options = !emptydirs + source = https://gitlab.manjaro.org/applications/libpamac/-/archive/11.0.1/libpamac-11.0.1.tar.bz2 + sha256sums = b204d921ca17cbe79b8e46f829f1364c56d9c98cba42372d98c7a8d7f0a7bd6b + +pkgname = libpamac-flatpak + backup = etc/pamac.conf diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..39f8848 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: TommyTran732 + +pkgname=libpamac-flatpak +_pkgname=libpamac +pkgver=11.0.1 +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') +source=(https://gitlab.manjaro.org/applications/libpamac/-/archive/$pkgver/libpamac-$pkgver.tar.bz2) +sha256sums=('b204d921ca17cbe79b8e46f829f1364c56d9c98cba42372d98c7a8d7f0a7bd6b') + +build() { + cd $_pkgname-$pkgver + mkdir -p builddir + cd builddir + meson setup --prefix=/usr --sysconfdir=/etc -Denable-snap=true -Denable-flatpak=true --buildtype=release + ninja +} + +package() { + backup=('etc/pamac.conf') + cd $_pkgname-$pkgver + cd builddir + DESTDIR="$pkgdir" ninja install +}