[arch-commits] Commit in readstat (3 files)

Antonio Rojas arojas at gemini.archlinux.org
Mon May 2 18:36:20 UTC 2022


    Date: Monday, May 2, 2022 @ 18:36:20
  Author: arojas
Revision: 1192321

archrelease: copy trunk to community-x86_64

Added:
  readstat/repos/
  readstat/repos/community-x86_64/
  readstat/repos/community-x86_64/PKGBUILD
    (from rev 1192320, readstat/trunk/PKGBUILD)

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Copied: readstat/repos/community-x86_64/PKGBUILD (from rev 1192320, readstat/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2022-05-02 18:36:20 UTC (rev 1192321)
@@ -0,0 +1,27 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=readstat
+pkgver=1.1.7
+pkgrel=1
+pkgdesc='Command-line tool (+ C library) for converting SAS, Stata, and SPSS files'
+arch=(x86_64)
+license=(MIT)
+url='https://github.com/WizardMac/ReadStat'
+depends=(zlib)
+source=(https://github.com/WizardMac/ReadStat/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz
+        https://raw.githubusercontent.com/WizardMac/ReadStat/v$pkgver/LICENSE)
+sha256sums=('400b8e6a5f0f6458227b454785d68beadd8a88870a7745d49def49740e3971a8'
+            '1d41e10031ab125302780a05ec4c91d218e47db0c7e37cf315cce5e608cdc25c')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure \
+    --prefix=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 ../LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list