38 lines
1.2 KiB
Ruby
38 lines
1.2 KiB
Ruby
class Klavaro < Formula
|
|
desc "Free touch typing tutor program"
|
|
homepage "https://klavaro.sourceforge.io/"
|
|
url "https://downloads.sourceforge.net/project/klavaro/klavaro-3.13.tar.bz2"
|
|
sha256 "e8200b3e98c9a7d7acf1e846df294aeb488c081da9de38feaca0cc19311dcc7c"
|
|
license "GPL-3.0-or-later"
|
|
|
|
livecheck do
|
|
url :stable
|
|
regex(%r{url=.*?/klavaro[._-]v?(\d+(?:\.\d+)+)\.t}i)
|
|
end
|
|
|
|
bottle do
|
|
sha256 arm64_big_sur: "f8134898ced1370ca151f5ed12042f5ea38a527f715369b6e59ebc7b1500d616"
|
|
sha256 monterey: "0cecac2787231738ec7e647f32f06171118d243c941160049611de7cc7cb0c52"
|
|
sha256 big_sur: "d6d1c7aaf96acb9061577df307bb98cb4d0b87e28b930d3a875b551d498d9f6e"
|
|
sha256 catalina: "76b1fc9787963e805dfe796c68450265d129797867bc1ac13a66bd489514cd32"
|
|
sha256 mojave: "886f52a4f91c189d2f5a3f9c68d2490842f0cb0d66f2d5d8b904b104c56fdf07"
|
|
end
|
|
|
|
depends_on "intltool" => :build
|
|
depends_on "pkg-config" => :build
|
|
depends_on "adwaita-icon-theme"
|
|
depends_on "gtk+3"
|
|
depends_on "gtkdatabox"
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make", "install"
|
|
rm_rf include
|
|
end
|
|
|
|
test do
|
|
system bin/"klavaro", "--help-gtk"
|
|
end
|
|
end
|