updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / odvr / PKGBUILD
blobb0aafcc25e724c11954f981c3350999b4c929f94
1 # Contributor: snuo
2 pkgname=odvr
3 pkgver=0.1.5
4 pkgrel=1
5 pkgdesc="a userspace driver & utility for Olympus digital voice recorders that don't support USB Mass Storage"
6 arch=("i686" "x86_64")
7 url="http://code.google.com/p/odvr/"
8 license=("GPL3")
9 depends=("gtk2" "libusb" "libsndfile")
10 makedepends=()
11 source=("http://odvr.googlecode.com/files/$pkgname-$pkgver.tar.gz" "odvr-gui.desktop")
12 md5sums=('2b01d21c1af06b4b1dc180057e35789a'
13          'aac0ec4dd8cfc779e9f399f79f7e9766')
14 sha1sums=('12fc0b2caa58a7b6cdbeb52bbd206f102d2d39fa'
15           '910b1099f8bc4f7a9b728118de92762bcdad4d2d')
16 sha256sums=('5a2a8ecfa65b77f73a56eb5abbf201d2b95214ce6ee58de5129e6b3f0460aa8e'
17             'dd62c5a064ac4f4edd6c973a92869a062631028e3a28e638d455f178226bfee5')
18 sha384sums=('92c55ea7c5dcb91aee8fd3e9f08a94da318715f848d969eb01758769ca1dc07792d9da50274eda886595503c21043bdf'
19             '855fbd9fd44baeb7e84e46f05527fb720f9e0abb994bdff13da5f97fb9b9574b5c4ae7788cb9c1e0ab6130e88505a358')
20 sha512sums=('b17f3ff867beafef4e08a2ac3a2d83b34dc62074294f6a55f126f04674bc0846fe9e28bef268990ddb483be4571732e4b629bbbe138f3212a76431c50f76820f'
21             '46bda8ef9866e92b9ab4808b0c99ce83b066a8fa9cbad0ac9080eeb27e6a25551f1deb71ac76197a5d02a54551affb1a3e86f7adf81172644595b1b7a3bad25e')
23 build() {
24   cd "$srcdir/$pkgname-$pkgver"
25   make || return 1
26   install -d "$pkgdir/usr/bin" "$pkgdir/usr/share/applications"
27   install -o root -g root -m 755 ./odvr $pkgdir/usr/bin/odvr
28   install -o root -g root -m 755 ./odvr-gui $pkgdir/usr/bin/odvr-gui
29   install -o root -g root -m 755 ../odvr-gui.desktop $pkgdir/usr/share/applications