Created
January 8, 2026 11:23
-
-
Save quietvoid/a3b365f0259666591fc35c9f51274568 to your computer and use it in GitHub Desktop.
subrandr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Maintainer: quietvoid <tcChlisop0@gmail.com> | |
| pkgname=subrandr | |
| pkgver=1.0.1 | |
| pkgrel=1 | |
| pkgdesc='An experimental subtitle rendering library (C-API)' | |
| _rootdir="${pkgname}-${pkgver}" | |
| arch=('x86_64') | |
| url='https://github.com/afishhh/subrandr' | |
| license=('MPL-2.0') | |
| depends=('gcc-libs' 'glibc') | |
| makedepends=('git' 'cargo') | |
| conflicts=('subrandr') | |
| provides=('subrandr' 'libsubrandr.so') | |
| source=("${_rootdir}.tar.gz::https://github.com/afishhh/subrandr/archive/refs/tags/v${pkgver}.tar.gz") | |
| b2sums=('6c34fa342013cbc4355ed464e67bb8855ebc1f32ea67e3f39ec8660c6181fea3635f136be6833fcb57baced25fffa6377976d6a577f4785b5955cd9cae9d9f70') | |
| options=('!debug') | |
| build() { | |
| cd "${_rootdir}" | |
| cargo xtask build | |
| } | |
| package() { | |
| cd "${_rootdir}" | |
| # destdir currently expects the prefix to be included | |
| cargo xtask install \ | |
| --destdir "${pkgdir}/usr" \ | |
| --prefix "${pkgdir}/usr" | |
| install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment