mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-04-27 21:43:53 +00:00
APKBUILD.proto: minor fixes
This commit is contained in:
parent
c18022931d
commit
e543ba5d8b
@ -4,24 +4,29 @@
|
|||||||
# then please put 'unknown'.
|
# then please put 'unknown'.
|
||||||
|
|
||||||
# Contributor: Your Name <youremail@domain.com>
|
# Contributor: Your Name <youremail@domain.com>
|
||||||
|
# Maintainer: Your Name <youremail@domain.com>
|
||||||
pkgname=NAME
|
pkgname=NAME
|
||||||
pkgver=VERSION
|
pkgver=VERSION
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc=""
|
pkgdesc=""
|
||||||
arch=""
|
arch=""
|
||||||
url=""
|
url=""
|
||||||
license='GPL'
|
license="GPL"
|
||||||
depends=""
|
depends=""
|
||||||
makedepends=""
|
makedepends=""
|
||||||
install=
|
install=
|
||||||
|
subpackages="$pkgname-doc $pkgname-dev"
|
||||||
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
|
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/$pkgname-$pkgver"
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
|
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--mandir=/usr/share/man \
|
||||||
|
--infodir=/usr/share/info
|
||||||
make || return 1
|
make || return 1
|
||||||
make DESTDIR="$pkgdir/" install
|
make DESTDIR="$pkgdir" install
|
||||||
}
|
}
|
||||||
|
|
||||||
md5sums="" #generate with 'abuild checksum'
|
md5sums="" #generate with 'abuild checksum'
|
||||||
|
Loading…
Reference in New Issue
Block a user