Created
July 6, 2016 03:23
-
-
Save Gabrielgtx/6ec9a3879df35a3be60a3fe4ee36a76c to your computer and use it in GitHub Desktop.
A simple, fast and multi-platform file transfer tool for LAN users. / http://www.msec.it/dukto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=dukto | |
pkgver=6.0 | |
pkgrel=1 | |
pkgdesc="A simple, fast and multi-platform file transfer tool for LAN users." | |
url="http://www.msec.it/dukto" | |
arch=('x86_64') | |
license=('GPL2') | |
md5sums=('SKIP') | |
source=("http://download.opensuse.org/repositories/home:/colomboem/xUbuntu_16.04/amd64/${pkgname}_${pkgver}-1_amd64.deb") | |
package() { | |
cd "$srcdir/" | |
msg2 " -> Extracting files..." | |
tar Jxvf data.tar.xz | |
msg2 " -> Installing program..." | |
install -d $pkgdir/{usr/bin,usr/share} | |
cp -a "$srcdir/usr/bin/$pkgname" "$pkgdir/usr/bin/" | |
msg2 " -> Installing icons..." | |
install -Dm644 "$srcdir/usr/share/pixmaps/$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png" | |
msg2 " -> Installing .desktop file..." | |
install -Dm644 "$srcdir/usr/share/applications/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" | |
} | |
Status API Training Shop Blog About |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=dukto-qt5 | |
pkgver=6.09 | |
_pkgver=20151101.g402f858-0 | |
pkgrel=1 | |
pkgdesc="A simple, fast and multi-platform file transfer tool for LAN users - Qt 5.x" | |
arch=('x86_64') | |
url="https://github.com/arthurzam/dukto-qt5" | |
license=('GPL2') | |
depends=('qt5-base' 'qt5-quick1' 'libnotify') | |
conflicts=('dukto') | |
source=("http://anorien.csc.warwick.ac.uk/mirrors/download.opensuse.org/repositories/home:/mazdlc:/kde-frameworks-5/Arch_Extra/x86_64/${pkgname}-git-${_pkgver}-${arch}.pkg.tar.xz") | |
md5sums=('b4d0d39679fa59c908d33d7fa421d00f') | |
package() { | |
cd "${srcdir}" | |
mv -f usr "$pkgdir" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_pkgname=dukto-qt5 | |
pkgname=${_pkgname}-git | |
pkgver=v6.r4.g0d08928 | |
pkgrel=1 | |
pkgdesc="A simple, fast and multi-platform file transfer tool for LAN users - Qt 5.x" | |
arch=(i686 x86_64) | |
url="https://github.com/arthurzam/${_pkgname}" | |
license=('GPL2') | |
depends=('qt5-base' 'qt5-quick1') | |
makedepends=('') | |
replaces=('dukto' 'dukto-svn') | |
conflicts=('dukto' 'dukto-svn') | |
source=("${_pkgname}::git+git://github.com/arthurzam/${_pkgname}.git") | |
sha1sums=('SKIP') | |
pkgver() { | |
cd "${srcdir}/${_pkgname}" | |
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g' | |
} | |
build() { | |
cd "${srcdir}/${_pkgname}" | |
qmake-qt5 dukto.pro | |
make | |
} | |
package() { | |
cd "${srcdir}/${_pkgname}" | |
make INSTALL_ROOT="$pkgdir" install | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=dukto | |
pkgver=R6 | |
pkgrel=1 | |
pkgdesc="A simple, fast and multi-platform file transfer tool for LAN users." | |
arch=('i686' 'x86_64') | |
url="https://sourceforge.net/projects/dukto" | |
license=('GPL2') | |
depends=('qt4') | |
makedepends=('subversion') | |
source=(dukto::'svn+http://svn.code.sf.net/p/dukto/code/trunk#revision=109') | |
sha256sums=('SKIP') | |
build() { | |
cd dukto | |
qmake-qt4 | |
make | |
} | |
package() { | |
cd dukto | |
install -Dm755 dukto "$pkgdir/usr/bin/dukto" | |
make INSTALL_ROOT="$pkgdir" install_desktop install_icon | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment