summaryrefslogtreecommitdiff
path: root/src/pkgtoolkit
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkgtoolkit')
-rw-r--r--src/pkgtoolkit/mod.rs1
-rw-r--r--src/pkgtoolkit/pkgtools.rs17
2 files changed, 18 insertions, 0 deletions
diff --git a/src/pkgtoolkit/mod.rs b/src/pkgtoolkit/mod.rs
new file mode 100644
index 0000000..4741892
--- /dev/null
+++ b/src/pkgtoolkit/mod.rs
@@ -0,0 +1 @@
+pub mod pkgtools; \ No newline at end of file
diff --git a/src/pkgtoolkit/pkgtools.rs b/src/pkgtoolkit/pkgtools.rs
new file mode 100644
index 0000000..d124c2b
--- /dev/null
+++ b/src/pkgtoolkit/pkgtools.rs
@@ -0,0 +1,17 @@
+use std::fs::File;
+use tar::Archive;
+
+pub struct Package {
+ BuildScript: String,
+ Name: String,
+ Version: String
+}
+
+impl Package {
+ pub fn build() -> Result<bool, std::io::Error> {
+ todo!();
+ }
+ pub fn install() -> Result<bool, std::io::Error> {
+ todo!();
+ }
+} \ No newline at end of file