1 # Maintainer Autor: MikoĊaj Rydzewski <miki@ceti.pl>
2 # Contributor Zawart <zawart@gmail.com>
7 pkgdesc="Sms-pl is a apps for sending SMS messages to Polish mobile phone operator (Era, Plus, Orange, Heyah)"
9 url="http://ceti.pl/~miki/komputery/download/sms/readme.html"
10 depends=('pcre' 'openssl' 'pcrepp' 'curl' 'gdbm')
11 makedepends=('gcc' 'make')
13 source=(http://ceti.pl/~miki/komputery/download/sms/sms-$pkgver.tar.gz)
14 md5sums=('dcbf973d5eaea710d31a65e6ca2fb6fb')
16 cd $startdir/src/sms-$pkgver
17 patch Makefile < ../../patch.Makefile || return 1
18 patch orangembox.cc < ../../patch.orangembox.cc || return 1
20 install -d -m 755 $startdir/pkg/usr/bin $startdir/pkg/usr/share/sms
21 install -s -m 755 sms smsaddr $startdir/pkg/usr/bin
22 install -m 644 README* $startdir/pkg/usr/share/sms
23 install -m 644 contrib/mimecut contrib/procmailrc contrib/sms-get $startdir/pkg/usr/share/sms
24 make DESTDIR=$startdir/pkg install