summaryrefslogtreecommitdiff
path: root/pcr/yencode/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/yencode/PKGBUILD')
-rw-r--r--pcr/yencode/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
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. <g4jc@openmailbox.org> 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