blob: 334dc6d57cc2c1697d51fb233c3e9c7c6febe9c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# Maintainer: Sam Burgos <santiago.burgos1089@gmail.com>
# Contributer: TommyTran732 <contact@tommytran.io>
# Contributer: Cassandra Watergate (saltedcoffii) <cassandrajwatergate@gmail.com>
# Contributer: LSUtigers3131
_pkgname=libpamac
pkgname=$_pkgname-flatpak
pkgver=11.7.0
pkgrel=1
epoch=1
_srcdir="$_pkgname-$pkgver"
pkgdesc="Pamac package manager library based on libalpm. With Flatpak support"
arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
#url="https://gitlab.manjaro.org/applications/libpamac"
url="https://github.com/manjaro/libpamac"
license=('GPL3')
depends=(
'appstream-glib'
'archlinux-appstream-data'
'dbus-glib'
'flatpak'
'glib2'
'gnutls'
'json-glib'
'libnotify'
'libsoup3'
'pacman'
'polkit'
'vte3'
)
makedepends=(
'asciidoc'
'gettext'
'git'
'gobject-introspection'
'intltool'
'meson'
'ninja'
'vala'
)
provides=('libpamac')
conflicts=(
'libpamac'
'libpamac-aur'
'libpamac-full'
'libpamac-nosnap'
)
options=(!emptydirs !strip)
backup=('etc/pamac.conf')
install='pamac.install'
source=($_pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz)
sha256sums=('f63658f93f7ba70932290d5813474f6f59b981c8510848ce6dc5c19004285586')
build() {
arch-meson "$_srcdir" 'build' -Denable-snap=false -Denable-flatpak=true -Denable-aur=true -Denable-appstream=true
meson compile -C 'build'
}
package() {
meson install -C 'build' --destdir="$pkgdir"
install -Dm644 "$_srcdir/COPYING" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
}
|