summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 37bf1afe560abadc5628c9d6260f6b2280f2eddc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
pkgname=pwg-git
pkgver=1.0
pkgrel=1
epoch=
pkgdesc="random password generator"
arch=(x86_64 i686)
url="https://github.com/systemb4/pwg"
license=('GPL')
groups=()
depends=()
makedepends=(git gcc)
checkdepends=()
optdepends=()
provides=(pwg)
conflicts=(pwg)
replaces=()
backup=()
options=()
install=
changelog=
source=("git+$url")
noextract=()
md5sums=('SKIP')
validpgpkeys=()

build() {
    cd pwg
    make
}

package() {
    cd pwg
    mkdir -p ${pkgdir}/opt/${pkgname}
    cp -rf * ${pkgdir}/opt/${pkgname}
    make PREFIX=/usr DESTDIR="${pkgdir}" install
}