diff options
Diffstat (limited to 'community/setserial/PKGBUILD')
-rw-r--r-- | community/setserial/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/setserial/PKGBUILD b/community/setserial/PKGBUILD new file mode 100644 index 000000000..631c3c4a2 --- /dev/null +++ b/community/setserial/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 102187 2013-12-06 12:40:45Z giovanni $ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: Aurelien Foret <orelien@chez.com> + +pkgname=setserial +pkgver=2.17 +pkgrel=4 +pkgdesc="Allows to change various attributes of a serial device" +arch=('i686' 'x86_64' 'mips64el') +url="http://setserial.sourceforge.net/" +license=('GPL') +depends=('glibc') +source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz" + "$pkgname.patch") +md5sums=('c4867d72c41564318e0107745eb7a0f2' + '99919d3be7c1550721494070a7ace66a') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + patch -Np1 -i ../$pkgname.patch + ./configure --prefix=/usr \ + --mandir=/usr/share/man + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + install -d ${pkgdir}/usr/{bin,share/man/man8} + make DESTDIR="${pkgdir}" install +} |