Compare commits
No commits in common. "master" and "Keyboard_0-4-0" have entirely different histories.
master
...
Keyboard_0
|
@ -1,4 +1,4 @@
|
|||
dist=Makefile,org.defora.keyboard.desktop
|
||||
dist=Makefile,deforaos-keyboard.desktop
|
||||
|
||||
[org.defora.keyboard.desktop]
|
||||
[deforaos-keyboard.desktop]
|
||||
install=$(PREFIX)/share/applications
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
#$Id$
|
||||
#Copyright (c) 2010-2020 Pierre Pronchery <khorben@defora.org>
|
||||
#Copyright (c) 2010-2015 Pierre Pronchery <khorben@defora.org>
|
||||
#
|
||||
#Redistribution and use in source and binary forms, with or without
|
||||
#modification, are permitted provided that the following conditions are met:
|
||||
|
@ -25,8 +25,8 @@
|
|||
|
||||
|
||||
#variables
|
||||
CONFIGSH="${0%/gettext.sh}/../config.sh"
|
||||
PREFIX="/usr/local"
|
||||
[ -f "../config.sh" ] && . "../config.sh"
|
||||
LOCALEDIR="$PREFIX/share/locale"
|
||||
POTFILES="POTFILES"
|
||||
PROGNAME="gettext.sh"
|
||||
|
@ -40,8 +40,6 @@ MSGMERGE="msgmerge"
|
|||
RM="rm -f"
|
||||
XGETTEXT="xgettext --force-po"
|
||||
|
||||
[ -f "$CONFIGSH" ] && . "$CONFIGSH"
|
||||
|
||||
|
||||
#functions
|
||||
#debug
|
||||
|
@ -114,7 +112,7 @@ _gettext_pot()
|
|||
clean=0
|
||||
install=0
|
||||
uninstall=0
|
||||
while getopts "ciO:uP:" name; do
|
||||
while getopts "ciuP:" name; do
|
||||
case "$name" in
|
||||
c)
|
||||
clean=1
|
||||
|
@ -123,9 +121,6 @@ while getopts "ciO:uP:" name; do
|
|||
uninstall=0
|
||||
install=1
|
||||
;;
|
||||
O)
|
||||
export "${OPTARG%%=*}"="${OPTARG#*=}"
|
||||
;;
|
||||
u)
|
||||
install=0
|
||||
uninstall=1
|
||||
|
@ -140,7 +135,7 @@ while getopts "ciO:uP:" name; do
|
|||
esac
|
||||
done
|
||||
shift $(($OPTIND - 1))
|
||||
if [ $# -lt 1 ]; then
|
||||
if [ $# -eq 0 ]; then
|
||||
_usage
|
||||
exit $?
|
||||
fi
|
||||
|
|
|
@ -1,14 +1,10 @@
|
|||
vendor=Desktop
|
||||
package=Keyboard
|
||||
version=0.4.0
|
||||
config=h,sh
|
||||
|
||||
subdirs=data,include,po,src,src/widget,tools
|
||||
config=h,sh
|
||||
dist=COPYING,Makefile,README.md,config.h,config.sh
|
||||
|
||||
#dist
|
||||
[COPYING]
|
||||
install=$(PREFIX)/share/doc/$(PACKAGE)
|
||||
|
||||
[README.md]
|
||||
install=$(PREFIX)/share/doc/$(PACKAGE)
|
||||
install=$(PREFIX)/share/doc/Keyboard
|
||||
|
|
Loading…
Reference in New Issue
Block a user