blob: 3a8cb636d8fdde0957a06a0b2b3a1a09dda9bc3f (
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
|
pkgname=trgui-ng-bin
_pkgname=trgui-ng
pkgver=1.3.0
pkgrel=1
pkgdesc='Remote GUI for Transmission torrent daemon'
arch=('x86_64')
url=https://github.com/openscopeproject/TrguiNG
license=('AGPL-3.0-only')
conflicts=('trgui-ng' 'trgui-ng-git')
depends=(dbus libsoup gcc-libs glib2 hicolor-icon-theme glibc openssl gtk3 alsa-lib webkit2gtk cairo gdk-pixbuf2 fontconfig)
source=(
"${pkgname%-bin}-${pkgver}.deb::https://github.com/openscopeproject/TrguiNG/releases/download/v${pkgver}/${_pkgname}_${pkgver}_amd64.deb"
)
sha256sums=('321cebb99e85dac2d587322f4cede6e7e0483d7399885ac7f582f9c56ba073a8')
package() {
msg "Converting debian package..."
cd "$srcdir"
tar xvf data.tar.gz -C "$pkgdir"
msg "Fix permissions for files and folders..."
find "$pkgdir" -type d -exec chmod 755 {} \;
find "$pkgdir" -type d -exec chown 0:0 {} \;
find "$pkgdir" -type f -exec chown 0:0 {} \;
}
|