1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # Contributor: Your Name <youremail@domain.com>
7 pkgname=imageshack-uploader2
8 _realpkgname=imageshack-uploader
11 pkgdesc="Official Image and Video uploader for imageshack.us web site (builds from source)"
12 arch=('i686' 'x86_64')
13 url="http://imageshack.us"
15 depends=('ffmpeg' 'qt')
16 makedepends=('mercurial')
17 provides=('imageshack-uploader')
18 conflicts=('imageshack-uploader')
23 hg clone https://imageshack-uploader.googlecode.com/hg/ imageshack-uploader
24 patch -Np1 ./imageshack-uploader/ffmpeg_fas.c vamp_patch
25 # patch -Np1 ./imageshack-uploader/imageshack.pro vamp_patch_qmake
28 IMAGESHACK_DEVELOPER_KEY="Vamp898" qmake -unix
30 make INSTALL_ROOT="$pkgdir/" install
32 md5sums=('f3d83b96d7845ac3c8dccb9a9759d522')