blob: 3d63e4ce05bff2fe144fadd1b82f4b4d36ae1276 (
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
|
# Maintainer: alcalino alanhumber333@gmail.com
pkgname='pacmanagergui-git' # '-bzr', '-git', '-hg' or '-svn'
pkgdir='pacmanager' #Name of the actual git repo used for cd
pkgver=r56.d2a23d8
pkgrel=1
pkgdesc="Simple GUI wrapper for the pacman package manager"
arch=('x86_64')
url="https://github.com/alcalino-git/pacmanager"
license=('MIT-0')
depends=('gtk4' 'pacman' 'boost' 'glibc' 'glib2' 'meson')
makedepends=('git') # 'bzr', 'git', 'mercurial' or 'subversion'
install=
source=('pacmanager::git+https://github.com/alcalino-git/pacmanager.git')
sha256sums=('SKIP')
# Please refer to the 'USING VCS SOURCES' section of the PKGBUILD man page for
# a description of each element in the source array.
pkgver() {
cd pacmanager
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd pacmanager
meson setup build
meson compile -C build
}
package() {
cd pacmanager
install -Dm755 ./build/pacmanager "$pkgdir/usr/bin/pacmanager"
mkdir -p "$pkgdir/usr/share/applications"
cat > "$pkgdir/usr/share/applications/pacmanager.desktop" <<EOF
[Desktop Entry]
Name=PacManager
Comment=Simple GUI wrapper for the pacman package manager
Exec=/usr/bin/pacmanager
Icon=pacmanager
Terminal=false
Type=Application
Categories=System;PackageManager;
EOF
}
|