blob: 15caa75005da84559be2b847cf3b42e28b8456e3 (
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
|
# Maintainer: mrxx <mrxx at cyberhome dot at>
# Contributor: Shane Utt <shaneutt at linux.com>
pkgname=packetsender
pkgver=8.8.9
pkgrel=1
pkgdesc="Network utility for sending / receiving TCP and UDP packets"
_basename=PacketSender
arch=('any')
url="http://packetsender.com/"
license=('GPL')
depends=('qt5-base')
makedepends=('qt5-base')
source=("https://github.com/dannagle/PacketSender/archive/v${pkgver}.tar.gz" "${pkgname}.desktop" "${pkgname}.png")
sha256sums=('8679b488e66bbff06e50815d75a995c0845e0b5180491be026603cf63489add1'
'8a9c06f1ce7a0d7a919fb9664d2d5b83d957c34ef2357b0fd89ce0d638380370'
'31f00a13c2823ddfadcf5cb3be90acc547c188ae3f3b30acde148eb8fce62ba8')
build() {
cd "${srcdir}/${_basename}-${pkgver}/src"
qmake-qt5 PacketSender.pro
make
}
package() {
pwd
install -Dm644 -t ${pkgdir}/usr/share/applications ${pkgname}.desktop
install -Dm644 -t ${pkgdir}/usr/share/icons/hicolor/32x32/apps/ ${pkgname}.png
install -Dm 755 ${srcdir}/${_basename}-${pkgver}/src/${pkgname} "${pkgdir}/usr/bin/${pkgname}"
}
|