summaryrefslogtreecommitdiffstats
path: root/apeinfo/PKGBUILD
blob: 54d9079718b44157a4172234e2147f7862138897 (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
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: Your Name <youremail@domain.com>
pkgname=apeinfo
pkgver=1.1
pkgrel=1
pkgdesc="display tag data and audio format information for APE (Monkey's Audio) files"
arch=(i686 x86_64)
url="http://www.legroom.net/software/apeinfo"
license=('GPL')
groups=()
depends=(mac)
makedepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(http://www.legroom.net/files/software/apeinfo11_source.tgz)
noextract=()
md5sums=() #generate with 'makepkg -g'

build() {
  cd "$srcdir"

  g++ ${CXXFLAGS} -I/usr/include/mac/ -lmac apeinfo.cpp -o apeinfo
}

package() {
  cd "$srcdir"

  install -Dm755 apeinfo "$pkgdir/usr/bin/apeinfo"
}

# vim:set ts=2 sw=2 et:
md5sums=('108476a3ec2e9d909dc0810204a2cbe9')