summaryrefslogtreecommitdiff
path: root/tests/debuginfod-tars/pacman-sources/PKGBUILD
blob: 0cac17069859e4655b98d6be4c23b5e503168611 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
pkgname=hello
pkgver=1
pkgrel=1
pkgdesc="Simple hello world program to exercise debuginfod"
arch=('x86_64')
source=('hello.c')
sha256sums=('f85badd2007451bbda4791e7fe820b41be0a424172a567573511688bff975235')

# guarantee that split debug packages are turned on
options=('strip' 'debug')

build() {
    # implicit Makefile
    make hello
}

package() {
    install -Dm755 hello "${pkgdir}"/usr/bin/hello
}