[arch-commits] Commit in setserial/trunk (PKGBUILD)
Pierre Schmitz
pierre at archlinux.org
Sat Sep 10 12:00:33 UTC 2011
Date: Saturday, September 10, 2011 @ 08:00:32
Author: pierre
Revision: 137680
upgpkg: setserial 2.17-4
rebuild old package
Modified:
setserial/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-09-10 11:58:36 UTC (rev 137679)
+++ PKGBUILD 2011-09-10 12:00:32 UTC (rev 137680)
@@ -4,24 +4,28 @@
pkgname=setserial
pkgver=2.17
-pkgrel=3
+pkgrel=4
pkgdesc="Allows to change various attributes of a serial device"
arch=('i686' 'x86_64')
url="http://setserial.sourceforge.net/"
license=('GPL')
depends=('glibc')
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
- $pkgname.patch)
+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 || return 1
+ patch -Np1 -i ../$pkgname.patch
./configure --prefix=/usr \
- --mandir=/usr/share/man || return 1
- make || return 1
+ --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
install -d ${pkgdir}/usr/{bin,share/man/man8}
- make DESTDIR="${pkgdir}" install || return 1
+ make DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list