initial import
This commit is contained in:
24
ocrad/PKGBUILD
Normal file
24
ocrad/PKGBUILD
Normal file
@@ -0,0 +1,24 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=ocrad
|
||||
pkgver=0.27
|
||||
pkgrel=1
|
||||
pkgdesc='OCR (Optical Character Recognition) program based on a feature extraction method'
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://www.gnu.org/software/ocrad/'
|
||||
license=('GPL-2')
|
||||
depends=('gcc-libs')
|
||||
source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.lz")
|
||||
sha512sums=('2a4731e0e26eefe6d37b08859c4d3cc2b54180411b0f846f7b7e873b9da5b4596ca3c6042ee42284a07aadfeb96d953dce3e95ce2410e48624d1b6020750539c')
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure --prefix=/usr CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS"
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user