diff --git a/manifest/armv7l/a/acpi.filelist b/manifest/armv7l/a/acpi.filelist index 3d58df9d9..7e4556cb1 100644 --- a/manifest/armv7l/a/acpi.filelist +++ b/manifest/armv7l/a/acpi.filelist @@ -1,2 +1,2 @@ /usr/local/bin/acpi -/usr/local/share/man/man1/acpi.1.gz +/usr/local/share/man/man1/acpi.1.zst diff --git a/manifest/i686/a/acpi.filelist b/manifest/i686/a/acpi.filelist index 3d58df9d9..7e4556cb1 100644 --- a/manifest/i686/a/acpi.filelist +++ b/manifest/i686/a/acpi.filelist @@ -1,2 +1,2 @@ /usr/local/bin/acpi -/usr/local/share/man/man1/acpi.1.gz +/usr/local/share/man/man1/acpi.1.zst diff --git a/manifest/x86_64/a/acpi.filelist b/manifest/x86_64/a/acpi.filelist index 3d58df9d9..7e4556cb1 100644 --- a/manifest/x86_64/a/acpi.filelist +++ b/manifest/x86_64/a/acpi.filelist @@ -1,2 +1,2 @@ /usr/local/bin/acpi -/usr/local/share/man/man1/acpi.1.gz +/usr/local/share/man/man1/acpi.1.zst diff --git a/packages/acpi.rb b/packages/acpi.rb index dde651a81..b16374d29 100644 --- a/packages/acpi.rb +++ b/packages/acpi.rb @@ -1,28 +1,21 @@ -require 'package' +require 'buildsystems/autotools' -class Acpi < Package +class Acpi < Autotools description 'Attempts to replicate the functionality of the \'old\' apm command on ACPI systems, including battery and thermal information.' homepage 'https://sourceforge.net/projects/acpiclient/' - version '1.7' + version '1.8' license 'GPL-2' compatibility 'all' - source_url 'https://downloads.sourceforge.net/project/acpiclient/acpiclient/1.7/acpi-1.7.tar.gz' - source_sha256 'd7a504b61c716ae5b7e81a0c67a50a51f06c7326f197b66a4b823de076a35005' - binary_compression 'tar.xz' + source_url "https://downloads.sourceforge.net/project/acpiclient/acpiclient/#{version}/acpi-#{version}.tar.gz" + source_sha256 'ed61d20400c4fd3965dde9b49ab3ac74da02f8eca1a55454f7a1ac3fa1fd5c31' + binary_compression 'tar.zst' binary_sha256({ - aarch64: '86f608f45ef9c7d423f26f4b1a268e7b995061e1ecb613bf3fbca2d9c7bf5665', - armv7l: '86f608f45ef9c7d423f26f4b1a268e7b995061e1ecb613bf3fbca2d9c7bf5665', - i686: 'bbb6d7c0db9e4777aaca3b38e08affc74f16af661274b2d962ef8189a5338d2f', - x86_64: 'db69280f951b024431221a7f28af55b9f103baa82a981619a3da01c161c2d485' + aarch64: '99eb587850a3cbaa8029fb4a6562013d7e9b2e25aa83952c57f7685f06b7f7ff', + armv7l: '99eb587850a3cbaa8029fb4a6562013d7e9b2e25aa83952c57f7685f06b7f7ff', + i686: 'fc511f646db0b0ed8f553dae69a3176bb48ddf30f434faed31be8def9078b13b', + x86_64: '18af9268c928bf8a50711cdc8dee48c8d6271de65a5c5a963eb616acba7255c0' }) - def self.build - system "./configure #{CREW_CONFIGURE_OPTIONS}" - system 'make' - end - - def self.install - system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install' - end + depends_on 'glibc' # R end