conflicts=("${_pkgname}")
pkgver() {
- cd "${srcdir}/${_pkgname}"
+ cd "${_pkgname}"
git log -1 --format='%cd.%h' --date=short | tr -d -
}
prepare() {
local file
- cd "${srcdir}/${_pkgname}"
+ cd "${_pkgname}"
sed \
-e '/char font/s/= .*/= "Fixed:pixelsize=13:style=SemiCondensed";/' \
-e '/char worddelimiters/s/= .*/= " '"'"'`\\\"()[]{}<>|";/' \
}
build() {
- cd "${srcdir}/${_pkgname}"
+ cd "${_pkgname}"
make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
}
package() {
- cd "${srcdir}/${_pkgname}"
+ cd "${_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"