updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / minus-uploader / PKGBUILD
blob18a59315ca506ba8dafd28aa118fae1d245401ee
1 # Maintainer: Giorgio Gilestro <giorgio@gilest.ro>
3 pkgname="minus-uploader"
4 pkgver="1.7"
5 pkgrel=5
6 pkgdesc="Desktop app that allows you to drag-n-drop files into the taskbar and instantly upload to Minus"
7 url="https://minus.com/pages/tools"
8 license=('GPL')
9 arch=('i686' 'x86_64')
10 makedepends=('binutils' 'tar')
11 depends=('qt' 'qjson')
13 if [ "${CARCH}" == 'x86_64' ]; then
14         
15         _debarch='amd64'
16         
17 elif [ "${CARCH}" == 'i686' ]; then
18         
19         _debarch='i386'
20         
23 _sourcefile="minus-desktop-tool_${_debarch}.deb"
24 source=("http://blog.minus.com/updates/${_sourcefile}")
26 [ "${CARCH}" == 'x86_64' ] && md5sums=('0be63eccb13feba9aee62e6318deb485')
27 [ "${CARCH}" == 'i686' ] && md5sums=('26e34f4bd41ceb2fd0f89f7223661b82')
29 build() {
30         
31         true
32         
35 package() {
37         cd ${srcdir}/
38         ar -p ${_sourcefile} data.tar.gz | tar zxf - -C "${pkgdir}" || return 1