summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3863137f9898b68e0dc31d91802c7900433213ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: C├ędric Connes <cedric.connes@gmail.com>

pkgname=megaproxy
pkgver=0.2.0
pkgrel=1
pkgdesc="HTTP proxy for mega.nz"
arch=('i686' 'x86_64')
url="https://github.com/connesc/megaproxy"
license=('ISC')
depends=('mega-sdk'
         'boost-libs')
makedepends=('boost')
source=("https://github.com/connesc/megaproxy/archive/v$pkgver.tar.gz")
md5sums=('60853c967584761ef0bacc2365b9e027')

build() {
  cd "$pkgname-$pkgver"
  make
}

package() {
  cd "$pkgname-$pkgver"
  install -Dm755 megaproxy "$pkgdir/usr/bin/megaproxy"
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}