updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / imageshack-uploader2 / PKGBUILD
blobf16d0be18e4461cdce934233b85f1ada8fa95dcf
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
9 pkgver=2.3.0
10 pkgrel=3
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"
14 license=('GPL')
15 depends=('ffmpeg' 'qt')
16 makedepends=('mercurial')
17 provides=('imageshack-uploader')
18 conflicts=('imageshack-uploader')
19 source=('vamp_patch')
21 build() {
22   cd "$srcdir"
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
26   cd "$_realpkgname"
28   IMAGESHACK_DEVELOPER_KEY="Vamp898" qmake -unix
29   make || return 1
30   make INSTALL_ROOT="$pkgdir/" install
32 md5sums=('f3d83b96d7845ac3c8dccb9a9759d522')