2020-01-06 09:55:23 +00:00
|
|
|
# Maintainer: Clayton Craft <clayton@craftyguy.net>
|
2017-09-18 19:17:30 +00:00
|
|
|
pkgname=msm-fb-refresher
|
2018-12-15 00:48:29 +00:00
|
|
|
pkgver=0.2
|
2020-08-03 21:18:03 +00:00
|
|
|
pkgrel=3
|
2017-09-18 19:17:30 +00:00
|
|
|
pkgdesc="Display refresher for Qualcomm devices"
|
|
|
|
arch="all"
|
|
|
|
url="https://github.com/AsteroidOS/msm-fb-refresher"
|
2020-01-06 09:55:23 +00:00
|
|
|
license="GPL-3.0-or-later"
|
2017-09-18 19:17:30 +00:00
|
|
|
makedepends="linux-headers"
|
2018-02-25 18:40:54 +00:00
|
|
|
install="$pkgname.post-install"
|
2017-09-18 19:17:30 +00:00
|
|
|
source="
|
2020-01-06 09:55:23 +00:00
|
|
|
$pkgname-$pkgver.tar.gz::https://github.com/AsteroidOS/msm-fb-refresher/archive/v$pkgver.tar.gz
|
2017-09-18 19:17:30 +00:00
|
|
|
msm-fb-refresher.init
|
2018-04-24 21:09:53 +00:00
|
|
|
00-msm-fb-refresher.sh
|
|
|
|
00-msm-fb-refresher.files
|
2017-09-18 19:17:30 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
gcc refresher.c -o refresher.o -c
|
|
|
|
gcc refresher.o -o msm-fb-refresher
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-01-06 09:55:23 +00:00
|
|
|
install -Dm755 msm-fb-refresher \
|
|
|
|
"$pkgdir"/usr/sbin/msm-fb-refresher
|
|
|
|
install -Dm755 "$srcdir"/msm-fb-refresher.init \
|
|
|
|
"$pkgdir"/etc/init.d/msm-fb-refresher
|
2018-04-24 21:09:53 +00:00
|
|
|
|
|
|
|
# Initramfs hook
|
2020-01-06 09:55:23 +00:00
|
|
|
local initfsdir="$pkgdir"/etc/postmarketos-mkinitfs/
|
|
|
|
mkdir -p "$initfsdir"/hooks "$initfsdir"/files
|
|
|
|
install -Dm755 "$srcdir"/00-msm-fb-refresher.sh \
|
|
|
|
"$initfsdir"/hooks/00-msm-fb-refresher.sh
|
|
|
|
install -Dm755 "$srcdir"/00-msm-fb-refresher.files \
|
2019-06-07 21:36:29 +00:00
|
|
|
"$initfsdir/files/00-msm-fb-refresher.files"
|
2017-09-18 19:17:30 +00:00
|
|
|
}
|
2018-12-15 00:48:29 +00:00
|
|
|
sha512sums="5e2920cf86f2e373e2411a89cf3ac6745af042ff7d91ae581f26b72772bc9ab621ea4154bc33ef57dce0c04ba3f88ee3b9f98c2a17b2579df368b0929cf0bfa7 msm-fb-refresher-0.2.tar.gz
|
2020-08-03 21:18:03 +00:00
|
|
|
e4dc12848d5615ff758ad3ba4165bef5501c92350f46072d30d9924821bf63ad89fe69e78f248562c8377d537bf8c3cefd275130a97040741bd80ff32a1838a3 msm-fb-refresher.init
|
2018-04-24 21:09:53 +00:00
|
|
|
1b6168037293db465a5a55d5c263cb60ac46cccb601329b193110bbdffc23207b3d38419d2ad128020bf4ddbcdb868e8fa2f561764adf02c7db0526b0177ee5a 00-msm-fb-refresher.sh
|
2018-12-15 00:48:29 +00:00
|
|
|
906c0d672682a9f0e3e8e07e207a557b8a1659e2e6021cb95c4b9886aed3b9ea477638c00ce9e4193b52dcfab7da317d9840cc576f29c7c7158cc11fd368be84 00-msm-fb-refresher.files"
|