summaryrefslogtreecommitdiff
path: root/pcr/yencode/PKGBUILD
blob: 584e744c66af455dce746e3e4ad178fa86b0e52a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697

pkgname=yencode
pkgver=0.46
pkgrel=3
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' 'armv7h')
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"
}