33 lines
884 B
Bash
33 lines
884 B
Bash
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
|
# and remove these comments. For more information, see 'man PKGBUILD'.
|
|
# NOTE: Please fill out the license field for your package! If it is unknown,
|
|
# then please put 'unknown'.
|
|
|
|
# Maintainer: Future Linux Team <future_linux@163.com>
|
|
pkgname=automake
|
|
pkgver=1.17
|
|
pkgrel=1
|
|
pkgdesc="A GNU tool for automatically creating Makefiles"
|
|
arch=('x86_64')
|
|
url="https://www.gnu.org/software/automake/"
|
|
license=('GPL')
|
|
groups=('base-devel')
|
|
depends=('perl' 'bash')
|
|
makedepends=('autoconf')
|
|
source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz)
|
|
sha256sums=(8920c1fc411e13b90bf704ef9db6f29d540e76d232cb3b2c9f4dc4cc599bd990)
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
${CONFIGURE} --docdir=/usr/share/doc/${pkgname}-${pkgver}
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
}
|