summaryrefslogtreecommitdiff
path: root/community/uucp
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/uucp
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/uucp')
-rw-r--r--community/uucp/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/uucp/PKGBUILD b/community/uucp/PKGBUILD
new file mode 100644
index 000000000..ffc819a91
--- /dev/null
+++ b/community/uucp/PKGBUILD
@@ -0,0 +1,30 @@
+# Contributor: Jick Nan <jick.nan@gmail.com>
+
+pkgname=uucp
+pkgver=1.07
+pkgrel=2
+pkgdesc="Taylor UUCP is a free implementation of UUCP and is the standard UUCP used on the GNU system"
+arch=(i686 x86_64)
+url="http://www.gnu.org/software/uucp/uucp.html"
+license=('GPL')
+makedepends=('wget' 'sed' 'grep')
+backup=('etc/uucp/config'
+ 'etc/uucp/port'
+ 'etc/uucp/sys')
+source=(http://ftp.gnu.org/gnu/uucp/${pkgname}-${pkgver}.tar.gz)
+md5sums=('64c54d43787339a7cced48390eb3e1d0')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr --mandir=/usr/share/man || return 1
+ make || return 1
+ make DESTDIR="${pkgdir}" install || return 1
+
+ install -D -m644 sample/config ${pkgdir}/etc/uucp/config && \
+ install -D -m644 sample/sys1 ${pkgdir}/etc/uucp/sys && \
+ install -D -m644 sample/port ${pkgdir}/etc/uucp/port
+
+ mv ${pkgdir}/usr/info ${pkgdir}/usr/share/
+}
+