blob: 49d3f16b4ce6c3d6e8cde98ca0ab0d995ff18652 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: Hexawolf <hexawolf@protonmail.com>
pkgname=pause
pkgver=1.0.0
pkgrel=1
pkgdesc="Wait for signal"
arch=('any')
url="https://hexawolf.dev/post/pause"
license=('Unlicense')
makedepends=('dietlibc' 'binutils' 'gcc')
provides=('pause')
source=("pause.c")
sha256sums=('SKIP')
build() {
diet -Os gcc -Wl,--gc-sections -ffunction-sections -fdata-sections pause.c -o pause
strip -s -R .comment -R .gnu.version pause
}
package() {
install -D -m 755 pause -t "${pkgdir}/usr/bin"
}
|