blob: 26cf39ddd1b78dd06fe4e36d93bc65bbf0efb4e5 (
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
|
# Maintainer: Marco Steiger <marco (at) steiger (dot) online>
pkgname=thedude
pkgver=7.14.3
pkgrel=1
pkgdesc="Mikrotik The Dude network monitoring client"
url="http://www.mikrotik.com"
arch=('x86_64' 'i686')
license=('custom')
makedepends=('p7zip')
depends=('findutils' 'wine')
optdepends=(
'ttf-ms-fonts: for better fonts'
)
install=${pkgname}.install
source=("${pkgname}-${pkgver}.exe::https://download.mikrotik.com/routeros/${pkgver}/dude-install-${pkgver}.exe"
"${pkgname}.desktop"
"${pkgname}.png"
"${pkgname}")
sha256sums=('e4d7b6c4a89c57ca844f5b1ff187995b453d64c86de2769048bb69cd00be4c36'
'037f296da60fa1e46f256f0b8314b4de467529dcbfe743b512bb29730ac05a18'
'b2595e2c2c9980fd5a9b2a6bbd847a8cbb158a4c18e36e9002ccbec109b4eaa1'
'08a7b0b10a034c6cbfbbd3a5d2b7e12c2ab2d7014563a39de9596f29f5a5961c')
build() {
test ! -d ${srcdir}/${pkgname}-src && mkdir ${srcdir}/${pkgname}-src
7z e -y -o"${srcdir}/${pkgname}-src/" "${srcdir}/${pkgname}-${pkgver}.exe"
}
package() {
mkdir -p "${pkgdir}/usr/share/${pkgname}/"
cp ${srcdir}/${pkgname}-src/* "${pkgdir}/usr/share/${pkgname}/"
chmod u=rwX,go=rX "${pkgdir}/usr/share/${pkgname}"
install -Dm755 "${srcdir}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
install -Dm655 "${srcdir}/${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
install -Dm655 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
}
|