updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / optimfrog / PKGBUILD
blob116154c49e1d73943204824208512fc892bc6f4c
1 # Contributor: Mladen Pejakovic <pejakm@gmail.com>
3 pkgname=optimfrog
4 pkgver=4.520b1
5 pkgrel=1
6 pkgdesc="A lossless audio compression program."
7 url="http://www.losslessaudio.org/"
8 depends=()
9 makedepends=()
10 optdepends=()
11 options=()
12 license=('custom (non-free)')
13 arch=('i686' 'x86_64')
15  if [ "$CARCH" = "x86_64" ]; then
16 source=(${url}/DownloadNew/OptimFROG_All_Linux_amd64_${pkgver//.}.php)
17 md5sums=('1a4a9535f3bb76f58c6979d2e169af8c')
18  else
19 source=(${url}/DownloadNew/OptimFROG_All_Linux_x86_${pkgver//.}.php)
20 md5sums=('05a8560bd68874332f50cd1ad28f4a7e')
21  fi
23 build() {
24 if [ "$CARCH" = "x86_64" ]; then
25   cd OptimFROG_All_Linux_amd64_${pkgver//.}
26 else
27   cd OptimFROG_All_Linux_x86_${pkgver//.}
30   install -m 755 -d $pkgdir/usr/bin || return 1
31   install -m 755 -D off ofr ofr_sfx ofs $pkgdir/usr/bin || return 1