initial import
This commit is contained in:
25
indent/PKGBUILD
Normal file
25
indent/PKGBUILD
Normal file
@@ -0,0 +1,25 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=indent
|
||||
pkgver=2.2.12
|
||||
pkgrel=1
|
||||
pkgdesc="C language source code formatting program"
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://www.gnu.org/software/indent/'
|
||||
license=('GPL-3')
|
||||
depends=('glibc')
|
||||
makedepends=('texi2html' 'gettext-tiny')
|
||||
source=("https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz")
|
||||
sha512sums=('dbe73bd3729074825f9f5b4241a4c539ad32069df56511963417caf0351ff9ec5edd77e9580338301c8abf89ab9c0592bc7e82c14eec7450c496259d7e9045dd')
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
make DESTDIR="${pkgdir}" docdir=/usr/share/doc/indent install
|
||||
install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user