1
0
mirror of https://github.com/tommytran732/libpamac-flatpak synced 2024-11-21 16:21:33 -05:00

Initial Commit

This commit is contained in:
TommyTran732 2021-08-17 23:57:17 -04:00
commit ab7b07e516
No known key found for this signature in database
GPG Key ID: 8825C3851DC29C20
2 changed files with 65 additions and 0 deletions

34
.SRCINFO Normal file
View File

@ -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

31
PKGBUILD Normal file
View File

@ -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
}