actually, name that package differently, so a random update does not break things

This commit is contained in:
Von Random 2017-12-06 16:17:42 +03:00
parent e955982998
commit f7a4380ef0
4 changed files with 8 additions and 7 deletions

View file

@ -7,7 +7,8 @@
# #
# they don't make those keyboards any more :( # they don't make those keyboards any more :(
pkgname=xkeyboard-config _pkgname=xkeyboard-config
pkgname=xkeyboard-config-ducky
pkgver=2.22 pkgver=2.22
pkgrel=1 pkgrel=1
pkgdesc="X keyboard configuration files" pkgdesc="X keyboard configuration files"
@ -15,10 +16,10 @@ arch=(any)
license=('custom') license=('custom')
url="https://www.freedesktop.org/wiki/Software/XKeyboardConfig" url="https://www.freedesktop.org/wiki/Software/XKeyboardConfig"
makedepends=('intltool' 'xorg-xkbcomp' 'libxslt') makedepends=('intltool' 'xorg-xkbcomp' 'libxslt')
provides=('xkbdata') provides=('xkbdata' "${_pkgname}")
replaces=('xkbdata') replaces=('xkbdata' "${_pkgname}")
conflicts=('xkbdata') conflicts=('xkbdata' "${_pkgname}")
source=("https://xorg.freedesktop.org/archive/individual/data/${pkgname}/${pkgname}-${pkgver}.tar.bz2" source=("https://xorg.freedesktop.org/archive/individual/data/${_pkgname}/${_pkgname}-${pkgver}.tar.bz2"
'ducky_mini' 'ducky_mini'
'ru.patch' 'ru.patch'
'us.patch') 'us.patch')
@ -28,7 +29,7 @@ sha256sums=('deaec9989fbc443358b43864437b7b6d39caff07890a4a8055105ce9fcaa59bd'
'215471b50a3c9544dd2e185cc34dd60bec3be8c54c12ed66723f81846f73eb38') '215471b50a3c9544dd2e185cc34dd60bec3be8c54c12ed66723f81846f73eb38')
build() { build() {
cd ${pkgname}-${pkgver} cd ${_pkgname}-${pkgver}
cp -v ${srcdir}/ducky_mini symbols cp -v ${srcdir}/ducky_mini symbols
patch -p1 < ${srcdir}/ru.patch patch -p1 < ${srcdir}/ru.patch
patch -p1 < ${srcdir}/us.patch patch -p1 < ${srcdir}/us.patch
@ -40,7 +41,7 @@ build() {
} }
package() { package() {
cd ${pkgname}-${pkgver} cd ${_pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install make DESTDIR="${pkgdir}" install
rm -f "${pkgdir}/usr/share/X11/xkb/compiled" rm -f "${pkgdir}/usr/share/X11/xkb/compiled"