Packages and Build System
Pacman packages are compressed tar archives containing metadata and a directory structure with files. Packages are built with makepkg using Bash build scripts known as PKGBUILDs. The following is a PKGBUILD for the patch package included in the pacman documentation as an example:
pkgname=patch pkgver=2.5.4 pkgrel=3 pkgdesc="A utility to apply patch files to original sources" arch=('i686' 'x86_64') url="http://www.gnu.org/software/patch/patch.html" license=('GPL') groups=('base-devel') depends=('glibc' 'ed') source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz) md5sums=('ee5ae84d115f051d87fcaaef3b4ae782') build { cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr make } package { cd "$srcdir"/$pkgname-$pkgver make prefix="$pkgdir"/usr install }Read more about this topic: Pacman (package Manager)
Famous quotes containing the words build and/or system:
“The eyes, opening and shutting like keyholes
and never forgetting, recording by thousands,
the skull with its brains like eels
the tablet of the world
the bones and their joints
that build and break for any trick....”
—Anne Sexton (19281974)
“Each generations job is to question what parents accept on faith, to explore possibilities, and adapt the last generations system of values for a new age.”
—Frank Pittman (20th century)