diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -2,7 +2,7 @@ _pkgname="overbitenx" pkgname="firefox-extension-${_pkgname}" pkgver='0.9.2.0' -pkgrel='1' +pkgrel='2' pkgdesc="Add gopher support to Firefox (beta)" arch=('x86_64') url="https://github.com/classilla/overbitenx" @@ -16,19 +16,20 @@ sha256sums=('bf3fa2cf5baaf8503d4ce15bae21071d10f3bd265937e1660765ae0e6f21f56c' prepare() { cd "${_pkgname}-${pkgver}" - sed 's|/home/linus/bin/onyx|/usr/lib/overbitenx/onyx|g' EXAMPLE_onyx.json >onyx.json + sed "s|/home/linus/bin/onyx|/usr/lib/${_pkgname}/onyx|g" EXAMPLE_onyx.json >onyx.json } build() { cd "${_pkgname}-${pkgver}" - # Since the onyx build rule is defined in Makefile.default, this should use the (superior) implicit build rule and not redefine CC for some reason. + # Since the onyx build rule is defined in Makefile.default, this should use the (superior) + # implicit build rule and not redefine CC for some reason. make onyx } package() { install -Dm644 "${_pkgname}-${pkgver}.xpi" "${pkgdir}/usr/lib/firefox/browser/extensions/overbitenx@floodgap.com.xpi" install -Dm644 "${_pkgname}-${pkgver}/onyx.json" "${pkgdir}/usr/lib/mozilla/native-messaging-hosts/onyx.json" - install -Dm755 "${_pkgname}-${pkgver}/onyx" "${pkgdir}/usr/lib/overbitenx/onyx" + install -Dm755 "${_pkgname}-${pkgver}/onyx" "${pkgdir}/usr/lib/${_pkgname}/onyx" install -Dm644 "${_pkgname}-${pkgver}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |