[arch-commits] Commit in linssid/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Dec 6 22:04:07 UTC 2020
Date: Sunday, December 6, 2020 @ 22:04:06
Author: felixonmars
Revision: 771243
archrelease: copy trunk to community-staging-x86_64
Added:
linssid/repos/community-staging-x86_64/
linssid/repos/community-staging-x86_64/PKGBUILD
(from rev 771242, linssid/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: linssid/repos/community-staging-x86_64/PKGBUILD (from rev 771242, linssid/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-12-06 22:04:06 UTC (rev 771243)
@@ -0,0 +1,37 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Jacques Fontaine <waitnsea at free.fr>
+# Contributor: Ryan Young <ryan31415926535 at gmail.com>
+
+pkgname=linssid
+pkgver=3.6
+pkgrel=6
+pkgdesc='Graphical wireless scanner for Linux'
+url='https://sourceforge.net/projects/linssid/'
+arch=('x86_64')
+license=('GPL3')
+depends=('qt5-base' 'qt5-svg' 'qwt' 'libxkbcommon-x11' 'iw' 'wireless_tools' 'xdg-utils' 'boost-libs'
+ 'desktop-file-utils' 'gtk-update-icon-cache')
+makedepends=('boost')
+optdepends=('sudo: privilege escalation to use wireless tools')
+source=(${pkgname}-${pkgver}.tar.gz::https://downloads.sourceforge.net/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz)
+sha256sums=('57301ee93f708f2512316668bf4e718502f37f21a5e93b68fc604a9032e3e49c')
+sha512sums=('066c890776a23d0e5fe8518826c64edc4b7d6dcef28cd7ce58f842e52b9e2b13517358ca6df636613abd1e860b20c6b542b5df165de1aa262e1e7db8a60e00e5')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ sed -r 's|libqwt-qt5.so|libqwt.so|g' -i linssid-app/linssid-app.pro
+ sed -r 's|/usr/sbin|/usr/bin|g' -i linssid-app/linssid-app.pro
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ qmake-qt5
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make INSTALL_ROOT="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list