mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-15 13:55:09 -05:00
a9ad5a75f2
The previous commit removed the Vim modelines which replaced tabs with spaces. This commit replaces the space-based indents with tabs. Tabs are generally more compatible with various user preferences regarding indentation of code. Using space-based indents is not flexible regarding user preferences at all. Signed-off-by: Jason St. John <jstjohn@purdue.edu>
46 lines
834 B
Protocol Buffer
46 lines
834 B
Protocol Buffer
# 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: Your Name <youremail@domain.com>
|
|
pkgname=NAME
|
|
pkgver=VERSION
|
|
pkgrel=1
|
|
epoch=
|
|
pkgdesc=""
|
|
arch=()
|
|
url=""
|
|
license=('GPL')
|
|
groups=()
|
|
depends=()
|
|
makedepends=()
|
|
checkdepends=()
|
|
optdepends=()
|
|
provides=()
|
|
conflicts=()
|
|
replaces=()
|
|
backup=()
|
|
options=()
|
|
install=
|
|
changelog=
|
|
source=($pkgname-$pkgver.tar.gz)
|
|
noextract=()
|
|
md5sums=() #generate with 'makepkg -g'
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
make -k check
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
make DESTDIR="$pkgdir/" install
|
|
}
|