mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-01 23:01:35 +01:00
35 lines
882 B
Plaintext
35 lines
882 B
Plaintext
# Contributor: dai9ah <dai9ah@protonmail.com>
|
|
# Maintainer: dai9ah <dai9ah@protonmail.com>
|
|
pkgname=bgs
|
|
pkgver=0.8
|
|
pkgrel=1
|
|
pkgdesc="Extremely fast and small background setter for X"
|
|
url="https://github.com/Gottox/bgs"
|
|
arch="all"
|
|
license="MIT"
|
|
makedepends="imlib2-dev libxinerama-dev"
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/Gottox/$pkgname/archive/v$pkgver.tar.gz"
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
prepare() {
|
|
sed -i "$builddir/config.mk" \
|
|
-e "/CFLAGS/s|\${CPPFLAGS}|& $CFLAGS|g" \
|
|
-e "/LDFLAGS/s|\-s|$LDFLAGS|g"
|
|
}
|
|
|
|
build() {
|
|
make -C "$builddir"
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
./bgs -v > /dev/null
|
|
}
|
|
|
|
package() {
|
|
make PREFIX=/usr DESTDIR="$pkgdir" -C "$builddir" install
|
|
}
|
|
|
|
sha512sums="4f7aa32d9cf60252abfc87cf72c7bc20ac691af3684a0923d3e2a3506407bddee9d2e5f49da97a154ed2acf1a876b2952ab61dd412f2de39c1303e7551acaec8 bgs-0.8.tar.gz"
|