summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 29ee188aba909344e2097e315459b6830256dfee (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
# Maintainer: loh.tar <loh.tar at googlemail dot com>
pkgname="wpa-cute"
pkgver="0.8.5"
pkgrel="1"
pkgdesc="A graphical wpa_supplicant front end"
arch=("x86_64")
url="https://github.com/loh-tar/$pkgname"
license=("BSD-3-Clause")
depends=("qt6-base" "qt6-svg" "wpa_supplicant")
install="$pkgname.install"
source=("$pkgname-$pkgver.tar.gz::https://github.com/loh-tar/$pkgname/archive/v$pkgver.tar.gz")
md5sums=('f5a1827d37d89df5fc190c8b3264bde1')

build() {
  cd "$pkgname-$pkgver/src"
  qmake6
  make
}

package() {
  cd "$pkgname-$pkgver/src"
  install -Dm755 "wpa-cute" "${pkgdir}/usr/bin/wpa-cute"
  install -Dm644 "icons/wpa_gui.svg" "${pkgdir}/usr/share/pixmaps/wpa-cute.svg"
  install -Dm644 "wpa-cute.desktop" "${pkgdir}/usr/share/applications/wpa-cute.desktop"
  install -Dm644 "../doc/wpa-cute.8" "${pkgdir}/usr/share/man/man8/wpa-cute.8"
  install -Dm644 "../COPYING" "${pkgdir}/usr/share/licenses/$pkgname/COPYING"
}