pkgname=pcre pkgver=8.45 fetch() { curl "https://ftp.pcre.org/pub/pcre/pcre-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.gz tar -xf $pkgname-$pkgver.tar.gz } build() { cd $pkgname-$pkgver ./configure \ --prefix=/usr \ --build=$TRIPLE \ --host=$TRIPLE make } package() { cd $pkgname-$pkgver make install DESTDIR=$pkgdir } backup() { return } license() { cd $pkgname-$pkgver cat LICENSE # cat COPYING }