updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / asterisk-core-sounds-en-8layertech / PKGBUILD
blob6bc5d85761a54370cacb2eb716d6dac49e78d2d5
2 # Created by: Joel Bryan Juliano <jbjuliano@8layertech.com>,
3 #                                <joelbryan.juliano@gmail.com>
5 # This package is part of 8ix Zenith CE project.
6 # For more information, visit http://www.8layertech.com
8 _realpkgname=asterisk-core-sounds-en
9 pkgname=asterisk-core-sounds-en-8layertech
10 pkgver=1.4.15
11 pkgrel=1
12 pkgdesc="Asterisk CORE Sounds (English)"
13 url="http://www.asterisk.org"
14 arch=("i686")
15 license=('GPL')
16 depends=('asterisk') 
17 source=(http://downloads.asterisk.org/pub/telephony/sounds/releases/$_realpkgname-alaw-$pkgver.tar.gz
18         http://downloads.asterisk.org/pub/telephony/sounds/releases/$_realpkgname-g722-$pkgver.tar.gz
19         http://downloads.asterisk.org/pub/telephony/sounds/releases/$_realpkgname-g729-$pkgver.tar.gz
20         http://downloads.asterisk.org/pub/telephony/sounds/releases/$_realpkgname-gsm-$pkgver.tar.gz
21         http://downloads.asterisk.org/pub/telephony/sounds/releases/$_realpkgname-siren7-$pkgver.tar.gz
22         http://downloads.asterisk.org/pub/telephony/sounds/releases/$_realpkgname-siren14-$pkgver.tar.gz
23         http://downloads.asterisk.org/pub/telephony/sounds/releases/$_realpkgname-sln16-$pkgver.tar.gz
24         http://downloads.asterisk.org/pub/telephony/sounds/releases/$_realpkgname-ulaw-$pkgver.tar.gz
25         http://downloads.asterisk.org/pub/telephony/sounds/releases/$_realpkgname-wav-$pkgver.tar.gz)
27 md5sums=('e9531e871d5b24e7b83d3ef946390d40'
28          '54532b85f56cc91de6e7a85b50cf9800'
29          'b489cb2cac74734b22d834406132048e'
30          '8c6f13636ada5b3371ab57121f7afd8e'
31          'a3d69737799888c6fa5c938d4190d532'
32          '4e37aebb361f58033fd0812b75aa5a23'
33          '49fd91087da17417ddfd23a2d450741d'
34          'fd97a409e12c9e19d1af3fc381a9f8ad'
35          'eaf43394b94681c31bdf56f1df653790')
37 build() {
38   mkdir -p $pkgdir/var/lib/asterisk/sounds/
39   cp -R $srcdir/* $pkgdir/var/lib/asterisk/sounds/
40   rm -rf $pkgdir/var/lib/asterisk/sounds/*.tar.gz
41   
42   install -D $srcdir/LICENSE-asterisk-core-en-$pkgver $pkgdir/usr/share/licenses/$_realpkgname/LICENSE-$_realpkgname-$pkgver