Created
December 30, 2011 16:23
-
-
Save ninehills/1540502 to your computer and use it in GitHub Desktop.
minus-uploader 1.7-5 PKGBUILD
This file contains hidden or 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
| # Maintainer: Giorgio Gilestro <[email protected]> | |
| pkgname="minus-uploader" | |
| pkgver="1.7" | |
| pkgrel=5 | |
| pkgdesc="Desktop app that allows you to drag-n-drop files into the taskbar and instantly upload to Minus" | |
| url="https://minus.com/pages/tools" | |
| license=('GPL') | |
| arch=('i686' 'x86_64') | |
| makedepends=('binutils' 'tar') | |
| depends=('qt' 'qjson') | |
| if [ "${CARCH}" == 'x86_64' ]; then | |
| _debarch='amd64' | |
| elif [ "${CARCH}" == 'i686' ]; then | |
| _debarch='i386' | |
| fi | |
| _sourcefile="minus-desktop-tool_${_debarch}.deb" | |
| source=("http://blog.minus.com/updates/${_sourcefile}") | |
| [ "${CARCH}" == 'x86_64' ] && md5sums=('0be63eccb13feba9aee62e6318deb485') | |
| [ "${CARCH}" == 'i686' ] && md5sums=('26e34f4bd41ceb2fd0f89f7223661b82') | |
| build() { | |
| true | |
| } | |
| package() { | |
| cd ${srcdir}/ | |
| ar -p ${_sourcefile} data.tar.gz | tar zxf - -C "${pkgdir}" || return 1 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment