summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 12d5ce1170baf83745a90522f1aea1e826ee30e5 (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
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=mp3wrap
pkgver=0.5
pkgrel=7
pkgdesc="Tool for wrapping mp3 files. A free independent alternative to AlbumWrap"
arch=('x86_64')
url="http://mp3wrap.sourceforge.net"
license=('LGPL')
depends=('glibc')
source=(
  "https://downloads.sourceforge.net/sourceforge/mp3wrap/mp3wrap-$pkgver-src.tar.gz"
  "mp3wrap-0.5-compilation.patch"
)
sha512sums=('2dc7a72a12b9245956000443a51cd5341e1d48795b629f6277f9dd26ac9b3ab2511a119478a10daa9516cb2526073956af42f83410aff1e4eae0c972fdd8b0f1'
            'e134112225fa72dea59b4214ae81aa0b78a28d23c6cdd48d5d740c7f4fc2fa1979e375b29c6a98b7c53a974631d5b7eac88b9b5a11cbd22a29a20d760dce9234')

prepare() {
  cd mp3wrap-$pkgver
  patch -Np1 < "${srcdir}/mp3wrap-0.5-compilation.patch"
}

build() {
  cd mp3wrap-$pkgver
  ./configure --prefix=/usr --mandir=/usr/share/man
  make
}

package() {
  cd mp3wrap-$pkgver
  make DESTDIR="$pkgdir" install
}