From ee11aa32f5376efd2c60c23c774a7124cc4ea429 Mon Sep 17 00:00:00 2001 From: Gaming4JC Date: Sun, 16 Aug 2015 18:20:33 -0400 Subject: adding yencode --- pcr/yencode/PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pcr/yencode/PKGBUILD diff --git a/pcr/yencode/PKGBUILD b/pcr/yencode/PKGBUILD new file mode 100644 index 000000000..50226a8e3 --- /dev/null +++ b/pcr/yencode/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Luke R. GPG: rsa4096/3EAE8697 + +pkgname=yencode +pkgver=0.46 +pkgrel=1 +pkgdesc="Powerful encoder/decoder for the Usenet yEnc file format. Features include easy configuration, internationalization, memory efficiency, and an intelligent decoder capable of finding and decoding input files, including out-of-order files." +arch=('i686' 'x86_64') +url="http://sourceforge.net/projects/yencode/" +license=('GPL2') +makedepends=('gcc') +source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('5883ec76f2ef3b857f09c79c63f47e2a1cf0354dbc06ff11cafecfda1112c638283ea3a987f906286ccc9dbe9d57f5f35b06ec1c3404dfc46465e722410d34a8') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --sbindir=/usr/bin + make +} + +package() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --sbindir=/usr/bin + make DESTDIR="$pkgdir/" install + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" +} \ No newline at end of file -- cgit v1.2.3