blob: 4b54edb40cd57a8e07ed0f6b3dab45939179087c (
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
|
# Current Maintainer: sigmacool
# Original Packager: sigmacool
pkgname=lanshare
pkgver=1.2.1
pkgrel=2
pkgdesc="LAN Share is a cross platform local area network file transfer application, built using Qt GUI framework."
arch=('x86_64')
url="https://github.com/abdularis/LAN-Share"
license=('GPL')
depends=('qt5-base')
optdepends=()
options=()
source=(
"https://github.com/abdularis/LAN-Share/releases/download/1.2.1/lanshare_1.2.1-1_amd64.deb"
"https://raw.githubusercontent.com/abdularis/LAN-Share/master/packaging/linux/debian/LANShare.desktop"
"https://raw.githubusercontent.com/abdularis/LAN-Share/master/packaging/linux/debian/lanshare-icon.png"
"https://raw.githubusercontent.com/abdularis/LAN-Share/master/LICENSE"
"https://raw.githubusercontent.com/abdularis/LAN-Share/master/README.md"
)
sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP')
prepare() {
tar xf data.tar.xz
mv README.md README
}
package() {
cp -r usr/ "$pkgdir"
install -Dm 0755 "$pkgdir/usr/lib/LANShare/LANShare" "$pkgdir/usr/bin/LANShare"
mkdir -p "$pkgdir/usr/share/applications"
sed -i '$ d' LANShare.desktop
install -Dm 0755 LANShare.desktop "$pkgdir/usr/share/applications/LANShare.desktop"
mkdir -p "$pkgdir/usr/share/pixmaps"
install -Dm 0755 lanshare-icon.png "$pkgdir/usr/share/pixmaps/lanshare-icon.png"
install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm 644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
}
|