blob: f747a96cf9961481434ecbefcd71704c1ea74903 (
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
63
64
65
66
67
68
69
|
# Maintainer: Sam Burgos <santiago.burgos1089@gmail.com>
# Contributer: TommyTran732 <contact@tommytran.io>
# Contributer: Cassandra Watergate (saltedcoffii) <cassandrajwatergate@gmail.com>
# Contributer: LSUtigers3131
_pkgname=pamac
pkgname=${_pkgname}-flatpak
pkgver=11.7.2
pkgrel=1
_srcdir="$_pkgname-$pkgver"
pkgdesc="A GUI frontend for libalpm. With Flatpak support"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
#url="https://gitlab.manjaro.org/applications/$_pkgname"
url="https://github.com/manjaro/pamac"
license=('GPL3')
depends=(
'desktop-file-utils'
'gnutls'
'gtk4'
'libadwaita'
'libhandy'
'libnotify'
'libpamac-flatpak'
)
optdepends=(
'lxsession: needed for authentification in Xfce, LXDE etc.'
'polkit-gnome: needed for authentification in Cinnamon, Gnome'
'plymouth: offline upgrades'
)
makedepends=(
'asciidoc'
'gettext'
'git'
'gobject-introspection'
'itstool'
'meson'
'ninja'
'vala'
'xorgproto'
)
#provides=(pamac)
provides=("${_pkgname}=${pkgver}-${pkgrel}")
conflicts=(
'pamac'
'pamac-aur'
'pamac-all'
'pamac-nosnap'
)
options=(!emptydirs)
source=("$url/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('c13d422bbdd9ced4c86de4a4921516b0ca69640440e18082ac29af87105e6829')
_srcdir="$_pkgname-$pkgver"
prepare() {
cd "$_srcdir"
# adjust version string
sed -i -e "s|\"$pkgver\"|\"$pkgver-$pkgrel\"|g" 'src/version.vala'
}
build() {
arch-meson "$_srcdir" 'build' -Denable-fake-gnome-software=false
meson compile -C 'build'
}
package() {
meson install -C 'build' --destdir "$pkgdir"
install -Dm644 "$_srcdir/COPYING" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
}
|