1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- # This is an example PKGBUILD file. Use this as a start to creating your own,
- # and remove these comments. For more information, see 'man PKGBUILD'.
- # NOTE: Please fill out the license field for your package! If it is unknown,
- # then please put 'unknown'.
- # Maintainer: Your Name <youremail@domain.com>
- pkgname=vitali64-st-git
- pkgver=0.8.4
- pkgrel=1
- epoch=
- pkgdesc="Vitali64's fork of suckless' st made for apparently no reason!"
- arch=(i686 x86_64)
- url="https://gitlab.com/vitali64/dots/vitali64-st"
- license=('MIT')
- groups=()
- depends=(xorg-server)
- makedepends=(git)
- checkdepends=()
- optdepends=()
- provides=(st)
- conflicts=(st)
- replaces=(st)
- backup=()
- options=()
- install=
- changelog=
- source=("git+$url")
- noextract=()
- md5sums=()
- validpgpkeys=()
- pkgver() {
- cd "${_pkgname}"
- printf "0.8.4.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
- }
- build() {
- cd vitali64-st
- make
- }
- package() {
- cd vitali64-st
- mkdir -p ${pkgdir}/opt/${pkgname}
- cp -rf * ${pkgdir}/opt/${pkgname}
- make PREFIX=/usr DESTDIR="${pkgdir}" install
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- install -Dm644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
- }
|